store performance

Brian Roach roach at basho.com
Thu Jan 3 12:01:41 EST 2013


On Wed, Jan 2, 2013 at 1:04 PM, catchme <lhariharan at hotmail.com> wrote:
> Hello,
> I am trying to store 1543400 records using the memory backend.
> I have a basic cluster setup with 2 nodes..
> I am using the pbcClient
> Bucket b = client.createBucket("test_bucket1").nVal(1).execute();
>                         //store object
>                         StoreObject<IRiakObject> storeObject =
>                                         buckt.store((String) key,buf);
>                         storeObject.dw(Quora.ONE).returnBody(false).execute();
>
> The store takes forever..
> I have riak installed on RHEL 6
>
> Any suggestions?

Multi-threading. A single client thread is going to max out somewhere
in the neighborhood of 100 per second best case. (give or take,
depending on network, size of objects, etc).




More information about the riak-users mailing list