Re: Cassandra client alternatives to mimic Couchbase sharding ???

2013-12-31 Thread Robert Coli
On Tue, Dec 31, 2013 at 7:46 AM, Hannu Kröger wrote: > Normally you can have full consistency by doing CL=QUORUM reads and > CL=QUORUM writes. That way you have high availability and faster reads than > in CL=ALL case. No matter what the consistency level is, you can get wrong > results if writes

Re: Offline migration: Random->Murmur

2013-12-31 Thread Robert Coli
On Mon, Dec 30, 2013 at 6:15 PM, Aaron Morton wrote: > I wrote a small (yet untested) utility, which should be able to read > SSTable files from disk and write them into a cassandra cluster using > Hector. > > Consider using the SSTableSimpleUnsortedWriter (see > http://www.datastax.com/dev/blog/

Re: offheap component

2013-12-31 Thread Tyler Hobbs
On Tue, Dec 31, 2013 at 7:35 AM, Jason Wee wrote: > > In Cassandra 1.2 and later, the Bloom filter and compression offset map > that store this metadata reside off-heap, greatly increasing the capacity > per node of data that Cassandra can handle efficiently. In Cassandra 2.0, > the partition sum

Re: Cassandra client alternatives to mimic Couchbase sharding ???

2013-12-31 Thread Hannu Kröger
If you are worried about the server side time drift (which usually should not be a problem, right?) then you can also generate the timestamp on the client side if that clock is more accurate. That probably should do it if you can do that. If you think that server clock drift will cause you problem

Re: Cassandra client alternatives to mimic Couchbase sharding ???

2013-12-31 Thread Ryan, Brent
Thanks Hannu! I wasn’t aware of the TokenAwarePolicy and that’s exactly what I was talking about so I’ll give that a try. Because setting the consistency level doesn’t really work unless I set it to ALL, but I really don’t want to pay that sort of performance penalty. I’d rather stick with QU

Re: Cassandra client alternatives to mimic Couchbase sharding ???

2013-12-31 Thread Hannu Kröger
Hi, DataStax Cassandra Java Driver has the possibility to choose the coordinator node based on the partition key (TokenAwarePolicy), however that probably does not solve the consistency problem you are thinking about: http://www.datastax.com/dev/blog/ideology-and-testing-of-a-resilient-driver If

Cassandra client alternatives to mimic Couchbase sharding ???

2013-12-31 Thread Ryan, Brent
Assuming that you have a 3 node cassandra cluster with replication factor of 3 (so all nodes have the data)… Does there exist a cassandra client that would allow a cassandra cluster to behave similarly to a couchbase cluster where for a given RowKey X, the client would always communicate to the

offheap component

2013-12-31 Thread Jason Wee
Excerpts from http://www.datastax.com/documentation/cassandra/2.0/webhelp/cassandra/operations/ops_tune_jvm_c.html In Cassandra 1.2 and later, the Bloom filter and compression offset map that store this metadata reside off-heap, greatly increasing the capacity per node of data that Cassandra can h

Re: Replication Latency between cross data centers

2013-12-31 Thread Jason Wee
Hi, how about streaming metrics https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/metrics/StreamingMetrics.java ? Jason On Tue, Dec 31, 2013 at 6:38 AM, Senthil, Athinanthny X. -ND < athinanthny.x.senthil@disney.com> wrote: > I want to determine data replication la