Re: Practical use of counters in the industry

2014-12-23 Thread Janne Jalkanen
On 20 Dec 2014, at 09:46, Robert Coli rc...@eventbrite.com wrote: On Thu, Dec 18, 2014 at 7:19 PM, Rajath Subramanyam rajat...@gmail.com wrote: Thanks Ken. Any other use cases where counters are used apart from Rainbird ? Disqus use(d? s?) them behind an in-memory accumulator which

Re: Replacing nodes disks

2014-12-23 Thread Or Sher
Thanks guys. I think I'll start with the replacement of a dead node procedure at least for the first node and I'll monitor the cluster overhead and timing. If I'll see that the overhead and elapsed time are substantially higher I'll try to find some network storage to store the backup. Using the

Re: Node down during move

2014-12-23 Thread Jiri Horky
Hi, just a follow up. We've seen this behavior multiple times now. It seems that the receiving node loses connectivity to the cluster and thus thinks that it is the sole online node, whereas the rest of the cluster thinks that it is the only offline node, really just after the streaming is over.

Re: CQL3 vs Thrift

2014-12-23 Thread David Broyles
Thanks, Ryan. I wasn't aware of static column support, and indeed they get me most of what I need. I think the only potential inefficiency is still at query time. Using Thrift, I could design the column family to get the all the static and dynamic content in a single query. If event_source and

Re: CQL3 vs Thrift

2014-12-23 Thread Peter Lin
I'm bias in favor of using both thrift and CQL3, though many people on the list probably think I'm crazy. CQL3 is good if what you need fits nicely in static columns, but it doesn't if you want to use dynamic columns and/or mix match both in the same columnFamily. For a lot of what I use

CAS and cluster membership

2014-12-23 Thread Sam Klock
Hi folks, I'm working on a project that might benefit from Cassandra's compare-and-swap operations, and we're wondering about whether there are plausible corner cases under which linearizable consistency semantics aren't maintained by the implementation. In particular, we're interested in how

Re: How is the underlying CQL native binary protocol implemented?

2014-12-23 Thread Tyler Hobbs
I suggest reading the native protocol spec: https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v3.spec The native protocol is not RPC. One of the reasons why it is more efficient than thrift is that multiple operations can be in flight at the same time with a single connection.

Re: CAS and cluster membership

2014-12-23 Thread Tyler Hobbs
This ticket may explain a few things: https://issues.apache.org/jira/browse/CASSANDRA-8346 On Tue, Dec 23, 2014 at 12:57 PM, Sam Klock skl...@akamai.com wrote: Hi folks, I'm working on a project that might benefit from Cassandra's compare-and-swap operations, and we're wondering about