cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Yates <colin.ya...@gmail.com>
Subject Off line client nodes?
Date Mon, 12 Apr 2010 10:52:32 GMT
Hi,

In our architecture, our consultants want to perform some
analysis on the train, disconnected from the web.  

How can I achieve this in Cassandra?  I realise this isn't quite
the use-case that was thought about when the clustering 
was designed, but will it work?

Scenario:

 - consultantA is in his office running a cassandra 
node on his laptop.

 - this node *very* periodically (almost on a manual basis) 
connects to the cluster and synchronises

 - consultant then gets some coffee

 - consultant then disconnects and sits on a train, happily 
using their app against the local node

 - consultant goes and plays golf whilst billing client for 
'management activities) (we know you do!) 

 - consultant plugs in at the end of the day and all changes are
synced back to the cluster

A few caveats:

 - the sync might not be atomic - the consultant *will* get bored
and disconnect before the sync has finished

 - the consultant should only see a tiny, well-defined fragment 
of the cluster data - i.e. a key range-set for example

Is this do-able or should I write a custom 'slurper' which
builds the local standalone client node?  I really don't want to do this....

Many thanks,

Col


Mime
View raw message