couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: document insert rate
Date Sun, 04 Jan 2009 23:23:01 GMT

On 5 Jan 2009, at 00:14, Chris Anderson wrote:
>
> On my white Mac Book (OS 10.5.6, erl version 5.6.3) I'm getting
> roughly 160 inserts per second. The full ab output is pasted below.
>
> [...]
> Also, maybe my Erlang is old enough not to be effected by
> the fsync thing.

Yup, try 5.6.4 or newer.

--

Here's mine, running on my MacBook:

Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads: 
0] [kernel-poll:true]


$ 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.0a730122-incubating
Server Hostname:        127.0.0.1
Server Port:            5984

Document Path:          /test_suite_db
Document Length:        70 bytes

Concurrency Level:      10
Time taken for tests:   147.985 seconds
Complete requests:      1000
Failed requests:        237
    (Connect: 0, Receive: 0, Length: 237, Exceptions: 0)
Write errors:           0
Total transferred:      281742 bytes
Total POSTed:           150000
HTML transferred:       69742 bytes
Requests per second:    6.76 [#/sec] (mean)
Time per request:       1479.845 [ms] (mean)
Time per request:       147.985 [ms] (mean, across all concurrent  
requests)
Transfer rate:          1.86 [Kbytes/sec] received
                         0.99 kb/s sent
                         2.85 kb/s total

Connection Times (ms)
               min  mean[+/-sd] median   max
Connect:        0    0   0.2      0       3
Processing:   479 1473 449.7   1309    3133
Waiting:      423 1473 449.8   1309    3132
Total:        480 1473 449.7   1309    3133

Percentage of the requests served within a certain time (ms)
   50%   1309
   66%   1491
   75%   1677
   80%   1800
   90%   2148
   95%   2489
   98%   2744
   99%   2891
  100%   3133 (longest request)


Mime
View raw message