Multiget performance

2014-04-08 Thread Allan C
Hi all, I’ve always been told that multigets are a Cassandra anti-pattern for performance reasons. I ran a quick test tonight to prove it to myself, and, sure enough, slowness ensued. It takes about 150ms to get 100 keys for my use case. Not terrible, but at least an order of magnitude from wha

[ANN] ccm-clj - test Cassandra clusters via Clojure

2014-04-08 Thread Colin Taylor
Hi, we have released ccm-clj (https://github.com/SMX-LTD/ccm-clj) a Clojure interface to ccm (https://github.com/pcmanus/ccm) designed specifically for the creation of arbitrary clusters in Clojure integration tests. (if (not (ccm/cluster? "testcluster")) (do (ccm/new! "testcluster" cass-ver

binary protocol server side sockets

2014-04-08 Thread graham sanderson
Is there a way to configure KEEPALIVE on the server end sockets of the binary protocol. rpc_keepalive only affects thrift. This is on 2.0.5 Thanks, Graham smime.p7s Description: S/MIME cryptographic signature

Apache cassandra not joining cluster ring

2014-04-08 Thread Joyabrata Das
Hello, I've a four node apache cassandra community 1.2 cluster in single datacenter with a seed. All configurations are similar in cassandra.yaml file. The following issues are faced, please help. 1] Though fourth node isn't listed in nodetool ring or status command, system.log displayed only thi

Re: using hadoop + cassandra for CF mutations (delete)

2014-04-08 Thread William Oberman
I use PHP, and phpCassa to talk to cassandra from within my app. I'm using the below script's structure as a way to run a local mutation on each of my nodes: === describe_ring($keyspace); $startToken = null; $endToken = null; foreach ($ring as $ringDetails) { //There is an

Re: Vnodes and replication

2014-04-08 Thread Richard Low
On 8 April 2014 09:29, vck wrote: > After reading through the vnodes and partitioning described in the > datastax documentation, I am still confused about how rows are > partitioned/replicated. > > With vnodes, I know that each Node on the ring now supports many token > ranges per Node. However

Re: Upgrading Cassandra

2014-04-08 Thread Alain RODRIGUEZ
Hi, thanks for this information Rob. Yet, can't we rebuild a new DC with the current C* version, upgrade it to the new major once it is fully part of the C* cluster, and then switch all the clients to the new DC once we are sure everything is ok and shut down the old one ? I mean, on a multiDC se

Vnodes and replication

2014-04-08 Thread vck
After reading through the vnodes and partitioning described in the datastax documentation, I am still confused about how rows are partitioned/replicated. With vnodes, I know that each Node on the ring now supports many token ranges per Node. However I am still not very clear on how the replication