pchalamet/cassandra-sharp — pull request #24 by hjarraya (2013-01-21 13:08:50+00:00)
Title: Cassandra-Sharp write performance Vs Thrift Client

Hi Pierre,

Please find join a proposed test for write performance, comparing between a Cassandra-sharp client and Thrift client. You will see the performance difference is important.
I am using the streaming response in TransportConfig Flag.
Example in my local machine:
Windows 7 Pro, i5-3210M, 8GB RAM
Cassandra 1.2
java version "1.6.0_37"
~~~
============================================================
Cassandra-Sharp Driver write performance test single thread
============================================================
[Cassandra-Sharp] Time : 11577 (rate: 863.781636002419 qps)
[Cassandra-Sharp] Time : 11817 (rate: 846.238470000846 qps)
[Cassandra-Sharp] Time : 11916 (rate: 839.207787848271 qps)
[Cassandra-Sharp] Time : 11732 (rate: 852.36958745312 qps)
[Cassandra-Sharp] Time : 11441 (rate: 874.04947120007 qps)
============================================================
Thrift Driver write performance test single thread
============================================================
[Cassandra-Thrift] Time : 5071 (rate: 1971.99763360284 qps)
[Cassandra-Thrift] Time : 4896 (rate: 2042.48366013072 qps)
[Cassandra-Thrift] Time : 4867 (rate: 2054.65379083624 qps)
[Cassandra-Thrift] Time : 4524 (rate: 2210.433244916 qps)
[Cassandra-Thrift] Time : 4581 (rate: 2182.92949137743 qps)
~~~

PS: I wasn't able to build the unit test project using the singing so I have to remove it from my projects, please ignore those changes.