On Thu, 08 Apr 2010 11:50:38 -0700 Mike Gallamore <mike.e.gallam...@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