wo did some test on cassandra ,but the result puzzled us

2010-03-11 Thread Bingbing Liu
We did some test on on Cassandra, and the benchmark is from Section 7 of the BigTable paper “Bigtable: A Distributed Storage System for Structured Data”, the benchmark task includes: random write, random read, sequential write, and sequential read. The test results made us puzzled. We use a

Re: wo did some test on cassandra ,but the result puzzled us

2010-03-11 Thread Jonathan Ellis
why reads are slower than writes: http://wiki.apache.org/cassandra/FAQ#reads_slower_writes no idea on seq vs random. i would not be surprised if there is a bug in your test code. On Fri, Mar 12, 2010 at 12:36 AM, Bingbing Liu rucb...@gmail.com wrote: We did some test on on Cassandra, and the

Re: Re: wo did some test on cassandra ,but the result puzzled us

2010-03-11 Thread Bingbing Liu
the difference between se and random the test code is just how the key of each record is generated. the test code is : long totalSWriteTime = 0; for (int i = 0; i totalRows; i++) { byte[] key = dg.getRandomRow();//when sequential write , we use i as the key byte[] data = dg.generateValue();

Re: wo did some test on cassandra ,but the result puzzled us

2010-03-11 Thread Masood Mortazavi
Bingbing Liu, On Fri, Mar 12, 2010 at 1:36 PM, Bingbing Liu rucb...@gmail.com wrote: We did some test on on Cassandra, and the benchmark is from Section 7 of the BigTable paper “Bigtable: A Distributed Storage System for Structured Data”, the benchmark task includes: random write, random