Re: compare cassandra read n write results

2010-04-12 Thread Paul Prescod
contrib/py_stress Although that's still written in a scripting language, it at least uses threading. Anyhow, what's your real goal? Inserting 100K or 1M rows in 30 seconds from a single-threaded environment like PHP is pretty good. Do your business goals require more? Also: Is it 100K or 1M? In

Re: compare cassandra read n write results

2010-04-12 Thread Jordan Pittier
First, read carefully and understand : http://wiki.apache.org/cassandra/ThriftExamples#PHP But you really shouldn't bother with benchmarks. Ask yourself this question : "what if my Cassandra performs at 5k operation/s ? And what about 3k op/s?". In other terms "why are you benchmarking ?". You've

Re: compare cassandra read n write results

2010-04-12 Thread vineet daniel
Actually, to be honest I dont know how to insert 100 rows without PHP or Pandra. If you could help me out I will surely try it and will share the results with you guys. On Mon, Apr 12, 2010 at 7:25 PM, Paul Prescod wrote: > How will they know whether the performance problem is caused by > Ca

Re: compare cassandra read n write results

2010-04-12 Thread Paul Prescod
How will they know whether the performance problem is caused by Cassandra or Pandra if you do not have raw Cassandra performance numbers for your setup? On Mon, Apr 12, 2010 at 5:51 AM, vineet daniel wrote: > I dont think it would be a good idea not to use pandra for benchmarks as we > are going

Re: compare cassandra read n write results

2010-04-12 Thread vineet daniel
I dont think it would be a good idea not to use pandra for benchmarks as we are going to use pandra for our application. Secondly, it will give Pandra guys some boost to enhance the performance of thier library. On Mon, Apr 12, 2010 at 6:05 PM, Jordan Pittier wrote: > Hi, > If you really want to

Re: compare cassandra read n write results

2010-04-12 Thread Jordan Pittier
Hi, If you really want to benchmark your box, you should concidere not using Pandra nor any library built upon Thrift. They all come with a (small) overhead. I also realized when I made my first benchmark that most of my box's ressources was used by the benchmarking tool it self and not by Canssan

Re: compare cassandra read n write results

2010-04-12 Thread Jonathan Ellis
If you use something standard like contrib/py_stress then maybe comparing your numbers to ours would make sense. On Mon, Apr 12, 2010 at 6:55 AM, vineet daniel wrote: > Hi > > A little while ago I tried cassandra's read n write operations and timed it. > I am using Pandra for communication with c

compare cassandra read n write results

2010-04-12 Thread vineet daniel
Hi A little while ago I tried cassandra's read n write operations and timed it. I am using Pandra for communication with cassandra. System is CentOS 5 with 2 GB RAM and dual core. I inserted 10 rows in around 30 secs and read the same in 25 seconds. If anyone of you have run similar tests c