Re: Curator: New Ruby ORM for Riak

2012-02-21 Thread David Dawson
secondary indexes instead of > extra documents. I think it's cleaner conceptually, and it's a simpler > implementation. > > On 2/21/12 2:46 PM, David Dawson wrote: >> >> This looks great >> >> Although I am still not clear when to use index's and when n

Re: Curator: New Ruby ORM for Riak

2012-02-21 Thread David Dawson
This looks great Although I am still not clear when to use index's and when not to, for instance if I wanted to build a high speed backend system where you could look up a user either by their email address or their mobile number I see 2 ways to do this: 1 .Create a user document, follo

Re: Riak Recap for August 22 - 25

2011-08-27 Thread David Dawson
P On 27 Aug 2011, at 00:38, Mark Phillips wrote: > Afternoon, Evening, Morning to All - > > Here's a great Recap to take you into the weekend: blog posts, slides, > videos, new code, and more. > > Also, to all our Riak users who happen to be on the East Coast of the > US this weekend: stay

Re: Riak Core Question

2011-05-03 Thread David Dawson
secondary > vnodes as a group and use a leader election algorithm to always ensure > a single vnode is the leader at any point -- and only send request to > that leader. The existing gen_leader module you can find online may > fit this bill. > > -Joe > > On Tue, May 3, 2011

Riak Core Question

2011-05-03 Thread David Dawson
I have a quick question regarding riak_core: Basically I am trying to build an application on top of riak_core that allows me to spawn a session per user interaction, so I can both hold state and queue requests to ensure ( as best I can ) that a user will only be interacting with my sys

Re: webcast on riak_core?

2011-04-05 Thread David Dawson
Mark, I would be really interested in how to use riak_core's handoff callbacks.. I also found bashobanjo to be really helpful, so maybe extending that to utilise the extra feature that riak_core offers, accompanied with a short tutorial would also provide good material. Dave On 5 Apr 2011,

Re: EC2 and RIAK

2011-04-01 Thread David Dawson
.cloudharmony.com/2010/09/benchmarking-of-ec2s-new-cluster.html > [3] http://blog.cloudharmony.com/2010/06/disk-io-benchmarking-in-cloud.html > [4] > http://blog.bioteam.net/2010/07/boot-ephemeral-ebs-storage-performance-on-amazon-cc1-4xlarge-instance-types/ > [5] > http://blog.bio

EC2 and RIAK

2011-03-30 Thread David Dawson
I am not sure if this has already been discussed, but I am looking at the feasibility of running RIAK in a EC2 cloud, as we have a requirement that may require us to scale up and down quite considerably on a month by month basis. After some initial testing and investigation we have come to the c

Re: Erlang API vs Erlang PBC

2011-01-21 Thread David Dawson
I am not sure if this is any help but I have uploaded a protocol buffer pool client for riak which requires you to pass a client_id for each operation. https://github.com/DangerDawson/riakc_pb_pool It is very very basic, but does most of the useful things: - put / get / delete -

Re: Ring Cluster and CPU idle time

2010-12-09 Thread David Dawson
he number of scheduler threads to create (usually 1 thread per CPU) > +sct - specify the CPU topology (useful for NUMA processors like Nehalem) > > Sean Cribbs > Developer Advocate > Basho Technologies, Inc. > http://basho.com/ > > On Dec 9, 2010, at 5:40 AM, David Daws

Re: Ring Cluster and CPU idle time

2010-12-09 Thread David Dawson
ork > and disk (and possibly RAM) to be the primary limiting factors. > > Sean Cribbs > Developer Advocate > Basho Technologies, Inc. > http://basho.com/ > > On Dec 8, 2010, at 12:36 PM, David Dawson wrote: > >> We are currently running a ring of 3 machines each machin

Ring Cluster and CPU idle time

2010-12-08 Thread David Dawson
We are currently running a ring of 3 machines each machine with 12 cores, and have noticed that we seem to only be using 60% of available CPU ( other 40% is spent idle ) when running basho bench against the cluster. We have tried changing the 'n_val' from 3 to 1 and also the backend from bitcask

Re: Curb performance when doing a PUT ( ripple 0.8.1 )

2010-10-20 Thread David Dawson
; reverse proxy, etc)? > 3) Can you enable "verbose" mode on curl and paste the output? Here's how: > > client.http.send(:curl).verbose = true > > Sean Cribbs > Developer Advocate > Basho Technologies, Inc. > http://basho.com/ > > On Oct 20, 2010, at 11

Curb performance when doing a PUT ( ripple 0.8.1 )

2010-10-20 Thread David Dawson
I am currently doing some benchmarking with the current ripple library and have noticed that a 'PUT' ( on mac os x ) is taking over 1 sec when using the curb library! If I force the riak-client to use net http instead then the same 'PUT' takes less than 20 ms For now we are going to disable t