incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Concurrent SuperColumn update question
Date Fri, 23 Apr 2010 15:04:03 GMT
On Thu, Apr 22, 2010 at 11:34 AM, tsuraan <tsuraan@gmail.com> wrote:
> Suppose I have a SuperColumn CF where one of the SuperColumns in each
> row is being treated as a list (e.g. keys only, values are just
> empty).  In this list, values will only ever be added; deletion never
> occurs.  If I have two processes simultaneously add values to this
> list (on different nodes, whatever), is that guaranteed to be safe
> from race conditions?

As long as you use column names that do not collide, such as uuids.

> Also, in a scheme like this, is there a limit on the number of entries
> I can have in my "list"?  I know that compaction normally needs to
> read an entire row into RAM in order to compact it.  Does this also
> apply to SuperColumn columns?

#3 here: http://wiki.apache.org/cassandra/CassandraLimitations

Mime
View raw message