cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Zlatanov <...@lifelogs.com>
Subject Re: writes to Cassandra failing occasionally
Date Fri, 09 Apr 2010 14:25:57 GMT
On Thu, 08 Apr 2010 11:50:38 -0700 Mike Gallamore <mike.e.gallamore@googlemail.com> wrote:


MG> Yes I agree single threaded is probably not the best. I wonder how
MG> much of a performance hit it is on a single CPU machine though? I
MG> guess I still would be blocking on ram writes but isn't like there is
MG> multiple CPUs I need to keep busy or anything.

Cassandra may have to load data from disk for a particular query but
another may already be in memory.  A third may cause a hit on another
cluster node.  So if you issue queries serially you'll see performance
drop off with the total number of queries because they are dependent on
each other's performance, while the distribution of the performance of
independent parallel queries will have skew and kurtosis much closer to
a normal distribution.  In other words, your slowest (or unluckiest)
queries are less damaging when you issue them in parallel.

On the client side you still have slow serialization/deserialization and
not much can be done about that.

Ted


Mime
View raw message