cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milind Parikh <>
Subject Re: Queue suggestion in Cassandra
Date Fri, 16 Sep 2011 23:12:45 GMT
use zookeeper. Scott Fines has a great library on top of zk.

On Fri, Sep 16, 2011 at 7:08 PM, Daning Wang <> wrote:

> We try to implement an ordered queue system in Cassandra(ver 0.8.5). In
> initial design  we use a row as queue,  a column for each item in queue.
> that means creating new column when inserting  item and delete column when
> top item is popped. Since columns are sorted in Cassandra we got the ordered
> queue.
> It works fine until queue size reaches 50K, then we got high CPU usage and
> constant GC, that makes the whole Cassandra server very slow and not
> responsive, we have to do full compaction to fix this problem.
> Due to this performance issue that this queue is not useful for us. We are
> looking for other designs. I want to know if anybody has implemented a large
> ordered queue successfully.
> Let me know if you have suggestion,
> Thank you in advance.
> Daning

View raw message