Batched statements two different cassandra clusters.

2014-06-01 Thread Kevin Burton
As far as I understand, this is impossible.

There isn't a way to figure out which statement goes to which cluster.

We are going to have two different clusters because the hardware config is
slightly different and so is our caching strategy.

A plan B could be to write to both commits to something like JMS/Apollo and
then use transactional messages to verify that everything is written to
both places.



-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
Skype: *burtonator*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com
War is peace. Freedom is slavery. Ignorance is strength. Corporations are
people.


Re: Batched statements two different cassandra clusters.

2014-06-01 Thread Colin
Set it up as one cluster with multiple datacenters and configure replication 
accordingly.

--
Colin Clark 
+1-320-221-9531
 

 On Jun 1, 2014, at 2:43 PM, Kevin Burton bur...@spinn3r.com wrote:
 
 As far as I understand, this is impossible.
 
 There isn't a way to figure out which statement goes to which cluster.
 
 We are going to have two different clusters because the hardware config is 
 slightly different and so is our caching strategy.
 
 A plan B could be to write to both commits to something like JMS/Apollo and 
 then use transactional messages to verify that everything is written to both 
 places.
 
 
 
 -- 
 Founder/CEO Spinn3r.com
 Location: San Francisco, CA
 Skype: burtonator
 blog: http://burtonator.wordpress.com
 … or check out my Google+ profile
 
 War is peace. Freedom is slavery. Ignorance is strength. Corporations are 
 people.