Riak JAVA Client Performance
pavel.kogan at cortica.com
Wed Oct 10 03:25:38 EDT 2012
1) Is it ok to share a single pbc client object between 50 threads? Should
it be protected by lock ?
2) I didn't do load balancing between nodes yet, cause I want to understand
better throughput limit. I am planning to do it for much higher throughput.
On Wed, Oct 10, 2012 at 9:21 AM, kamiseq <kamiseq at gmail.com> wrote:
> maybe the good start is to share pbclient object and only create
> bucket per request, you will save few steps on client configuration.
> have you tried balancing requests to cluster and distribute them over all
> Paweł Kamiński
> kamiseq at gmail.com
> pkaminski.prv at gmail.com
> On 10 October 2012 06:18, Pavel Kogan <pavel.kogan at cortica.com> wrote:
> > Hi all,
> > I have Riak cluster consisting of 5 nodes that contains about 30
> millions of
> > keys (35% of capacity according to Riak Control).
> > Currently we have single JAVA client reading and writing records to same
> > node. I need some tips, how to use the client efficiently
> > to reach maximal throughput - I would like to be able to read/write up to
> > 100 records/sec on 1Gbit network. Currently I get a lot
> > of JAVA socket exceptions after a while (even for the much slower rate -
> > records/sec), after which I need to restart client and node.
> > Thanks,
> > Pavel
> > P.S: My client using 50 threads and pbc client is created and shut-downed
> > per request.
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users