Re: about key sorting and token partitioning

2010-11-10 Thread Peter Schuller
> I am using cassandra to store a message steam, and want to use timestamps > (like mmddhhMIss or something alike) as the keys. > So if I use RandomPartitioner, I will loose the order when using > get_range_slices(). > If I use OrderPreservingPartitioner, how should I configure cassandra to > m

about key sorting and token partitioning

2010-11-10 Thread zangds
Hi, I am using cassandra to store a message steam, and want to use timestamps (like mmddhhMIss or something alike) as the keys. So if I use RandomPartitioner, I will loose the order when using get_range_slices(). If I use OrderPreservingPartitioner, how should I configure cassandra to make l