incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <dri...@gmail.com>
Subject Re: Why cassandra single node so slow?
Date Sat, 14 Nov 2009 17:17:52 GMT
On Sat, Nov 14, 2009 at 5:47 AM, ruslan usifov <ruslan.usifov@gmail.com>wrote:

> Hello!
>
> I'm new in cassandra son i can misunderstand some things.
>
> In follow "benchmark". I have  insert 4000000 records like this
>
*snip*

> # Define your cluster(s)
> connection.add_pool('test', ['localhost:9160'])
>

This is your problem, you're only using one connection.  Use 20+ and it will
be much faster, however it's unlikely that a single python process will be
able to truly push Cassandra to the limit.  That said, take a look at
test/system/stress.py.

-Brandon

Mime
View raw message