CorrugatedIron batch get?

Jeremiah Peschka jeremiah.peschka at
Sun Feb 10 17:05:10 EST 2013

My guess is that you're referring to the method Put(IEnumerable<RiakObject>
values) [1]. If that's the case, yes there's also a Get that accepts an
IEnumerable of RiakObjectID [2]. Riak doesn't support multi-get so CI is
just wrapping a bunch of Gets in the background for you. MapReduce might be
more effective here.

If you're talking about the IRiakBatchClient interface [3], all actions of
RiakClient can be handled through IRiakBatchClient. Keep in mind that CI's
batch operations are just a wrapper around making a large number of calls
at once. Nothing about Batch() is atomic - if you need a Unit of Work
pattern you'll have to implement it yourself.


Jeremiah Peschka - Founder, Brent Ozar Unlimited
MCITP: SQL Server 2008, MVP
Cloudera Certified Developer for Apache Hadoop

On Sun, Feb 10, 2013 at 1:32 PM, Kevin Burton <rkevinburton at>wrote:

> Looking at the method calls I can see that there is a batch Put. Where I
> can form a list of RiakObject s and do one put that writes all of the
> objects to the database. Is there an equivalent “batch get”? Examples?
> Thank you.****
> _______________________________________________
> riak-users mailing list
> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list