Re: Replacing Redis

2011-02-20 Thread Benson Margulies
Thanks for replying, but it is not at all clear to me that redis was ever the right solution to the problem at hand. I'm still working out whether, in fact, Cassandra is. Up to a fairly large scale, this particular problem needs no 'cache' at all. It needs a write-behind persistence mechanism -- a

Cassandra as write-behind, Cassandra as Cache

2011-02-18 Thread Benson Margulies
Cassandra as dessert topping? Cassandra as floor-wax? I do apologize for this basket of clueless questions, but I'm exploring new territory for me. Overall problem has two datasets with distinct storage characteristics. The first is a set of data that can fit in memory, but which needs reliable

managing a limited-length list as a value

2011-02-18 Thread Benson Margulies
The following is derived from the redis list operations. The data model is that a key maps to an list of items. The operation is to push a new item into the front, and discard any items from the end above a threshold number of items. of course, this can be done by reading a value, fiddling with i

Re: Replacing Redis

2011-02-18 Thread Benson Margulies
typical experiment. Redis 2.0.4 deployed on my macbook pro. Saves enabled. appendfsync off. vm enabled, 1g max memory. 72 databases. Each database asked to store 13*N key-value pairs with lpush, bucket size not very big, N -> 500,000. Client jredis. Start running against a stream of inputs.

Schema init 'best practice'

2011-02-18 Thread Benson Margulies
I want to package some schema with a library. I could use the hector API to create the schema if not found. Or I could, what, stuff a yaml file into something? Is there an API for that, or do I end up where I started?

Re: Replacing Redis

2011-02-18 Thread Benson Margulies
t; On Sat, Feb 19, 2011 at 1:32 AM, Benson Margulies > wrote: >> I'm about to launch off on replacing redis with cassandra. I wonder if >> anyone else has ever been there and done that. >> > > > > -- > http://twitter.com/jpartogi >

Replacing Redis

2011-02-18 Thread Benson Margulies
I'm about to launch off on replacing redis with cassandra. I wonder if anyone else has ever been there and done that.

Possible application

2011-02-10 Thread Benson Margulies
Hello there, I'm trying to sort out whether Cassandra is a good pick as the data store for a problem I've got. The shape of the thing is a large number of hash tables. On a merely pretty big scale, it can all run on one pretty big machine. On a gigantic scale, which is an eventual goal, it will n