Ok I ran the stress test with out of box settings -- 50 threads and 1M row
inserts. It seems to get as high as 4400 ops per second and as low as 968.
Am I reading these correctly as inserts per second?
These are results below. But is also generates timeouts and failures in the
python code like:
Process Inserter-20:
Traceback (most recent call last):
File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in
_bootstrap
self.run()
File
"/home/malsmith/dev/apache-cassandra-0.5.1-src/test/system/stress.py", line
80, in run
self.cclient.batch_insert('Keyspace1', key, cfmap, ConsistencyLevel.ONE)
File
"/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
line 583, in batch_insert
self.recv_batch_insert()
File
"/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
line 611, in recv_batch_insert
raise result.te
TimedOutException: TimedOutException()
self.recv_batch_insert()
File
"/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
line 611, in recv_batch_insert
raise result.te
TimedOutException: TimedOutException()
self.recv_batch_insert()
File
"/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
line 611, in recv_batch_insert
raise result.te
TimedOutException: TimedOutException()
total,interval_op_rate,elapsed_time
48318,4831,10
58006,968,20
75447,1744,30
118266,4281,40
160906,4264,50
191501,3059,60
235144,4364,70
270721,3557,80
308977,3825,90
353383,4440,100
386573,3319,110
411550,2497,120
445391,3384,130
476990,3159,140
491169,1417,150
512848,2167,160
547812,3496,170
583997,3618,180
609193,2519,190
653878,4468,200
687692,3381,210
711378,2368,220
755527,4414,230
794985,3945,240
811653,1666,250
~
~
On Fri, Mar 26, 2010 at 12:25 PM, Brandon Williams <[email protected]> wrote:
> On Fri, Mar 26, 2010 at 10:45 AM, malcolm smith <
> [email protected]> wrote:
>
>> I've been getting a feel for the performance elements of Cassandra using
>> version 0.51. I've done similar tests on HBase before, but Cassandra has
>> some very appealing aspects that I would like to pursue.
>>
>> However I'm not seeing the what seems like the common level of
>> performance others are seeing.
>>
>
> Can you test with stress.py? In 0.5, I think it was in test/stress.
>
> -Brandon
>