Skip to content

measure couchdb retrieval time

root@wallaby:~# time curl -s --netrc-file  /root/couchdb.netrc -X GET 'http://127.0.0.1:4002/users/_all_docs' > /dev/null
real    0m1.481s
user    0m0.004s
sys    0m0.000s
root@wallaby:~# time curl -s --netrc-file  /root/couchdb.netrc -X GET 'http://127.0.0.1:4001/users/_all_docs' > /dev/null
real    0m4.244s
user    0m0.004s
sys    0m0.000s
root@wallaby:~# time curl -s --netrc-file  /root/couchdb.netrc -X GET 'http://127.0.0.1:4000/users/_all_docs' > /dev/null
real    0m0.887s
user    0m0.004s
sys    0m0.000s
root@wallaby:~# grep 400 /etc/stunnel/*
/etc/stunnel/manatee5984.conf:accept = 127.0.0.1:4002
/etc/stunnel/woodlouse5984.conf:accept = 127.0.0.1:4001
/etc/stunnel/worm5984.conf:accept = 127.0.0.1:4000

(from redmine: created on 2013-07-23, closed on 2013-09-24)