couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Dionne <bob.dio...@gmail.com>
Subject Re: document insert rate
Date Mon, 05 Jan 2009 00:11:40 GMT
I set loglevel=error and saw no diff. I notice the db grows to about  
2 meg, which compacts to 133K or so.

Concurrency Level:      10
Time taken for tests:   192.010 seconds
Complete requests:      1000





On Jan 4, 2009, at 7:06 PM, Jason Davies wrote:

> On 4 Jan 2009, at 23:59, 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.  
>>> <geir@pobox.com> 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.
>
> Oops, I was wondering why I was getting such ridiculous speeds,  
> that database didn't exist on this machine so it was just returning  
> 404s!
>
> I am getting similar results to Jan:
>
> $ 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:        70 bytes
>
> Concurrency Level:      10
> Time taken for tests:   141.734 seconds
> Complete requests:      1000
> Failed requests:        250
>    (Connect: 0, Receive: 0, Length: 250, Exceptions: 0)
> Write errors:           0
> Total transferred:      281723 bytes
> Total POSTed:           150000
> HTML transferred:       69723 bytes
> Requests per second:    7.06 [#/sec] (mean)
> Time per request:       1417.339 [ms] (mean)
> Time per request:       141.734 [ms] (mean, across all concurrent  
> requests)
> Transfer rate:          1.94 [Kbytes/sec] received
>                         1.03 kb/s sent
>                         2.97 kb/s total
>
> Connection Times (ms)
>               min  mean[+/-sd] median   max
> Connect:        0    0   0.2      0       5
> Processing:   149 1411 120.2   1392    1911
> Waiting:      149 1411 120.3   1392    1911
> Total:        150 1411 120.2   1392    1912
>
> Percentage of the requests served within a certain time (ms)
>   50%   1392
>   66%   1426
>   75%   1450
>   80%   1475
>   90%   1558
>   95%   1601
>   98%   1667
>   99%   1717
>  100%   1912 (longest request)
>
>
> --
> Jason Davies
>
> www.jasondavies.com
>


Mime
View raw message