Re: SSTable structure

2015-03-30 Thread Kirk True
The tricky thing with documenting the SS tables is that there are a lot of conditionals in the structure, so it makes for twisty reading. Just for fun, here's a terrible start I made once: https://github.com/mustardgrain/cassandra-notes/blob/master/SSTables.md On Mon, Mar 30, 2015, at 05:12 PM,

10,000s of column families/keyspaces

2013-07-01 Thread Kirk True
Hi all, I know it's an old topic, but I want to see if anything's changed on the number of column families that C* supports, either in 1.2.x or 2.x. For a number of reasons [1], we'd like to support multi-tenancy via separate column families. The problem is that there are around 5,000 tenants to

Re: read request distribution

2012-11-12 Thread Kirk True
Somewhat recently the Ownership column was changed to Effective Ownership. Previously the formula was essentially 100/nodes. Now it's 100*replication factor/nodes. So in previous releases of Cassandra it would be 100/12 = 8.33, now it would be closer to 25% (8.33*3 (assuming a replication

Re: Data Modeling: Comments with Voting

2012-09-26 Thread Kirk True
Depending on your needs, you could simply duplicate the comments in two separate CFs with the column names including time in one and the vote in the other. If you allow for updates to the comments, that would pose some issues you'd need to solve at the app level. On 9/26/12 4:28 PM, Drew

Re: Batch update efficiency with composite key

2012-07-20 Thread Kirk True
-in-cql-3-0 It will still be a no look write. The exception being secondary indexes and counters which include reads in the write path. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 20/07/2012, at 10:26 AM, Kirk True wrote: In Cassandra you

Re: Replication factor - Consistency Questions

2012-07-19 Thread Kirk True
But isn't QUORUM on a 2-node cluster still 2 nodes? On 07/17/2012 11:50 PM, Jason Tang wrote: Yes, for ALL, it is not good for HA, and because we meet problem when use QUORAM, and current solution is switch Write:QUORAM / Read:QUORAM when got UnavailableException exception. 2012/7/18 Jay

Re: Batch update efficiency with composite key

2012-07-19 Thread Kirk True
In Cassandra you don't read-then-write updates, you just write the updates. Sorry for being dense, but can you clarify a logical vs. physical row? Batching is useful for reducing round trips to the server. On 07/18/2012 06:18 AM, Leonid Ilyevsky wrote: I have a question about efficiency of

Re: Errors with Cassandra 1.0.10, 1.1.0, 1.1.1-SNAPSHOT and 1.2.0-SNAPSHOT

2012-06-02 Thread Kirk True
Permissions problems on /var for the user running Cassandra? Sent from my iPhone On Jun 2, 2012, at 6:56 PM, Horacio G. de Oro hgde...@gmail.com wrote: Hi! While using Cassandra, I've seen this log messages when running some test cases (which insert lots of columns in 4 rows). I've tryied

Re: How do I add a custom comparator class to a cassandra cluster ?

2012-05-14 Thread Kirk True
Disclaimer: I've never tried, but I'd imagine you can drop a JAR containing the class(es) into the lib directory and perform a rolling restart of the nodes. On 5/14/12 11:11 AM, Ertio Lew wrote: I need to add a custom comparator to a cluster, to sort columns in a certain customized fashion.

Re: Two Random Ports in Private port range

2012-04-20 Thread Kirk True
Are these the dynamic JMX ports? Sent from my iPad On Apr 19, 2012, at 8:58 AM, W F amz...@gmail.com wrote: Hi All, I did a web search of the archives (hope I looked in the right place) and could not find a request like this. When Cassandra is running, it seems to create to random tcp

Re: Stress test using Java-based stress utility

2011-07-22 Thread Kirk True
Thank You -- Kirk True Founder, Principal Engineer Expert Engineering Firepower About us: