The cassandra gem on rubygems.org needs to be updated

2012-03-26 Thread Ilya Maykov
If you're not a maintainer of the cassandra gem on rubygems.org, you can stop reading. And if you are ... I'm just bringing this up to your attention: https://github.com/twitter/cassandra/issues/142 Thanks! -- Ilya

Re: Seeing very weird results on 0.6.2 when paginating through a ColumnFamily with get_slice()

2010-07-15 Thread Ilya Maykov
rections and interval endpoints are chosen > correctly.  I recall the semantics of the call being like an old-school for > with the descending flag as a step of +1 or -1. > > -- > Spelling by mobile. > > On Jul 15, 2010, at 20:19, Ilya Maykov wrote: > >> Hi all, >&g

Seeing very weird results on 0.6.2 when paginating through a ColumnFamily with get_slice()

2010-07-15 Thread Ilya Maykov
Hi all, I'm trying to debug some pretty weird behavior when paginating through a ColumnFamily with get_slice(). It basically looks like Cassandra does not respect the limit parameter in the SlicePredicate, sometimes returning more than limit columns. It also sometimes silently drops columns. I'm r

Re: Time-series data model

2010-04-15 Thread Ilya Maykov
Hi Jean-Pierre, I'm investigating using Cassandra for a very similar use case, maybe we can chat and compare notes sometime. But basically, I think you want to pull the metric name into the row key and use simple CF instead of SCF. So, your example: "my_server_1": { "cpu_usage": {

Re: Overwhelming a cluster with writes?

2010-04-06 Thread Ilya Maykov
rge with your > 8GB machines.  Please test with 4GB first. > > On Tue, Apr 6, 2010 at 12:13 AM, Ilya Maykov wrote: >> That does sound similar. It's possible that the difference I'm seeing >> between ConsistencyLevel.ZERO and ConsistencyLevel.ALL is simply due >&g

Re: Overwhelming a cluster with writes?

2010-04-06 Thread Ilya Maykov
VM_OPTS, I will try running with the "more sane" options (but a larger heap) as well. -- Ilya On Mon, Apr 5, 2010 at 11:59 PM, Rob Coli wrote: > On 4/5/10 11:48 PM, Ilya Maykov wrote: >> >> No, the disks on all nodes have about 750GB free space. Also as >> ment

Re: Overwhelming a cluster with writes?

2010-04-05 Thread Ilya Maykov
n a node crashes? > > On Tue, Apr 6, 2010 at 9:39 AM, Ilya Maykov wrote: >> >> I'm running the nodes with a JVM heap size of 6GB, and here are the >> related options from my storage-conf.xml. As mentioned in the first >> email, I left everything at the default

Re: Overwhelming a cluster with writes?

2010-04-05 Thread Ilya Maykov
crash > your nodes are probably slow  due to GC. What is your memtable size? > What cache options did you configure? > > On Tue, Apr 6, 2010 at 7:31 AM, Ilya Maykov wrote: >> Hi all, >> >> I've just started experimenting with Cassandra to get a feel for the >>

Re: Overwhelming a cluster with writes?

2010-04-05 Thread Ilya Maykov
5, 2010 at 9:31 PM, Ilya Maykov wrote: > Hi all, > > I've just started experimenting with Cassandra to get a feel for the > system. I've set up a test cluster and to get a ballpark idea of its > performance I wrote a simple tool to load some toy data into the > system.

Overwhelming a cluster with writes?

2010-04-05 Thread Ilya Maykov
Hi all, I've just started experimenting with Cassandra to get a feel for the system. I've set up a test cluster and to get a ballpark idea of its performance I wrote a simple tool to load some toy data into the system. Surprisingly, I am able to "overwhelm" my 4-node cluster with writes from a sin