Hi,

Few points here:

1. delayed_commits helps you in high concurrency (batch mode) and less in no concurrency. 2. If one wants to send in the same session lots of documents, that someone uses bulk operation. Otherwise, high concurrency comes in play by the means of batch mode.

For more information look at the "official" benchmarks at:

http://guide.couchdb.org/editions/1/en/performance.html

and you will see your hardware shows quite good qualities (comparing with 4-5 documents per second written in the official documentation).

Cheers,
CGS




On 10/25/2011 09:22 PM, Konstantin Cherkasov wrote:
Hi!

I installed CouchDB 1.1.0 on Windows (Winows 7, 32 bit) and tried to
test performance using ab.exe
(Apache Benchmark http://httpd.apache.org/docs/2.2/programs/ab.html)

ab.exe -k -c 1 -n 1000 -p ab.json -T "application/json" 
http://localhost:5984/bench

where ab.json contains the simplest document {"value": "test"}.

This utility do 1000 POSTs with no concurency (-c 1) in single
connection (-k for keepalive).

On my laptop (it's NOT low cost netbook) I got 10 requests per second.
So it is 0.1 second per single request.
And CPU and HDD utilization is actually ZERO.

I was just wondering what exactly CouchDB doing all this time
(0.1 second) with single little record?

As the utilization of CPU and HDD is 0%, I believe that they are not the 
bottleneck.

So where is bottleneck?



P.S.
All test I did with delayed_commits = false.
And I tried socket_options = [{nodelay, true}]


Reply via email to