Best way to insert a collection of items at once

rsb cnasillo at
Mon Jul 22 11:57:32 EDT 2013

Hi All, new Riak'er here so please bear with me.

I have a cluster of 5 nodes, and I have created a cluster-PCB client using
the RiakFactory. My question is the following;

Given a collection of 10,000 items, what is the fastest way of inserting
such items. I have tried the following techniques using the Java API 1.1.0.

- Looping through each item in the collection and performing a, val).execute()
- I have also tried using StoreObject<TypeX> with defaults and specifying
'lazy' quorums
     * I have read StoreObject does a read on every write, if true, can that
be disabled?

Thanks in advance!

View this message in context:
Sent from the Riak Users mailing list archive at

More information about the riak-users mailing list