I have had similar experiences. On the advice of the Cassandra team, I now
maintain the queue itself in-memory, but persist the data items in Cassandra
(one per row). When re-starting the system I pull data from Cassandra to
re-construct the ordered queue in-memory. In some cases I write columns to
rg
Subject: Re: Queue suggestion in Cassandra
use zookeeper. Scott Fines has a great library on top of zk.
On Fri, Sep 16, 2011 at 7:08 PM, Daning Wang
mailto:dan...@netseer.com>> wrote:
We try to implement an ordered queue system in Cassandra(ver 0.8.5). In initial
design we use a row a
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 w
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
qu