no way. Can you verify that all docs made it in there?
I got a similar rate (which is faster than a regular fsync, btw) when
I didn't create the file to post.
ab turned it into a GET.
Look at the couch log, and see if you are
a) getting POSTs rather than GETs
b) see all 1000 new docs in the db via futon
geir
On Jan 4, 2009, at 6:59 PM, Jason Davies wrote:
On 4 Jan 2009, at 23:14, Chris Anderson wrote:
On Sun, Jan 4, 2009 at 2:45 PM, Geir Magnusson Jr. <[email protected]>
wrote:
How many inserts a second can you do on your machine?
No problems here: 877 reqs/sec and no failed requests on MacBook Pro
with OS 10.5.6.
Erlang (BEAM) emulator version 5.6.5 [source] [async-threads:0]
[kernel-poll:false]
$ ab -c 10 -n 1000 -p emptypost -T 'application/json'
http://127.0.0.1:5984/test_suite_db
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: CouchDB/0.9.0a730858-incubating
Server Hostname: 127.0.0.1
Server Port: 5984
Document Path: /test_suite_db
Document Length: 40 bytes
Concurrency Level: 10
Time taken for tests: 1.139 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 261000 bytes
Total POSTed: 150000
HTML transferred: 40000 bytes
Requests per second: 877.84 [#/sec] (mean)
Time per request: 11.392 [ms] (mean)
Time per request: 1.139 [ms] (mean, across all concurrent
requests)
Transfer rate: 223.75 [Kbytes/sec] received
128.59 kb/s sent
352.34 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 3
Processing: 3 11 2.0 11 24
Waiting: 3 11 1.9 10 24
Total: 4 11 2.0 11 24
Percentage of the requests served within a certain time (ms)
50% 11
66% 11
75% 12
80% 12
90% 13
95% 15
98% 18
99% 20
100% 24 (longest request)
--
Jason Davies
www.jasondavies.com