incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucas Di Pentima <lu...@di-pentima.com.ar>
Subject Re: Cassandra Ruby Library's batch method example?
Date Fri, 23 Apr 2010 11:41:33 GMT
So basically the idea behind the batch processing is some performance gain via network usage
optimization? Thanks Jonathan!

El 22/04/2010, a las 21:32, Jonathan Ellis escribió:

> nope, there is no guarantee of that.  if the server fails
> mid-operation you have to retry it.
> 
> On Thu, Apr 22, 2010 at 7:23 PM, Lucas Di Pentima
> <lucas@di-pentima.com.ar> wrote:
>> 
>> El 22/04/2010, a las 19:57, Ryan King escribió:
>> 
>>> The batch method in the cassandra gem is still a little crippled (it
>>> doesn't actually batch together everything it can), but you can use it
>>> like this:
>>> 
>>> http://github.com/fauna/cassandra/blob/master/test/cassandra_test.rb#L299
>> 
>> Thanks Ryan! One question about this feature: Ideally it should execute all batched
operations or none, is that right? In case one batched operation raise some exception, the
previous ops are rolled back?
>> 
>> --
>> Lucas Di Pentima - Santa Fe, Argentina
>> Jabber: lucas@di-pentima.com.ar
>> MSN: ldipenti75@hotmail.com
>> 
>> 
>> 
>> 
>> 

--
Lucas Di Pentima - Santa Fe, Argentina
Jabber: lucas@di-pentima.com.ar
MSN: ldipenti75@hotmail.com





Mime
View raw message