Re: Basic Architecture Question

2010-05-01 Thread Patricio Echagüe
Roger, if you include the last read key as the start key for the next API
call, will that retrieve the same key/row twice?

The documentation says that both keys (start, finish) are included.
Thanks

On Thu, Apr 29, 2010 at 1:31 PM, Brandon Williams dri...@gmail.com wrote:

 On Thu, Apr 29, 2010 at 10:19 AM, David Boxenhorn da...@lookin2.comwrote:

 So now we can do any kind of range queries, not just for getting all
 keys as Jesse said?


 With RP, the key ranges are based on the MD5 sum of the key, so it's really
 only useful for getting all keys, or obtaining a semi-random row.

 -Brandon




-- 
Patricio.-


A simple Cassandra CLI in Python with readline support

2010-05-01 Thread Shuge Lee
Hi all:

I write a simple Cassandra CLI in Python with readline support,

FEATURES

   - inherited all standard Apache Cassandra CLI features
   - readline


for more information, see http://github.com/shuge/shuge-cassandra .

-- 
Shuge Lee | Lee Li


Design Query

2010-05-01 Thread Rakesh Rajan
I am evaluating cassandra to implement activity streams. We currently have
over 100 feeds with total entries exceeding 32000 implemented using
redis ( ~320 entries / feed). Would like hear from the community on how to
use cassandra to solve the following cases:

   1. Ability to fetch entries by applying a few filters ( like show me only
   likes from a given user). This would include range query to support
   pagination. So this would mean indices on a few columns like the feed id,
   feed type etc.
   2. We have around 3 machines with 4GB RAM for this purpose and thinking
   of having replication factor 2. Would 4GB * 3 be enough for cassandra for
   this kind of data? I read that cassandra does not keep all the data in
   memory but want to be sure that we have the right server config to handle
   this data using cassandra.

Thanks,
Rakesh


Re: Basic Architecture Question

2010-05-01 Thread Jonathan Ellis
It will.

2010/5/1 Patricio Echagüe patric...@gmail.com:
 Roger, if you include the last read key as the start key for the next API
 call, will that retrieve the same key/row twice?
 The documentation says that both keys (start, finish) are included.
 Thanks

 On Thu, Apr 29, 2010 at 1:31 PM, Brandon Williams dri...@gmail.com wrote:

 On Thu, Apr 29, 2010 at 10:19 AM, David Boxenhorn da...@lookin2.com
 wrote:

 So now we can do any kind of range queries, not just for getting all
 keys as Jesse said?

 With RP, the key ranges are based on the MD5 sum of the key, so it's
 really only useful for getting all keys, or obtaining a semi-random row.
 -Brandon


 --
 Patricio.-




-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com