incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasili Batareykin <john...@gmail.com>
Subject perfomance?
Date Wed, 24 Mar 2010 05:44:56 GMT
Hello!

i'm trying to use couchdb in dumb case: as a file storage with http access)
but get performance problem
simple test:
curl -X PUT http://localhost:5984/users
curl -X PUT http://localhost:5984/users/static -d {}
curl -H "Content-Type: image/jpeg" -X PUT
http://localhost:5984/users/static/1.jpg?rev=4-41378c97921c2b3bc2a76f4c47f4ee86--data-binary
@1.jpg

then trying to get that jpg with ab from apache distro:

76.46 [#/sec] ab -c 10 -n 1000
39.13 [#/sec] ab -n 1000
378912 bytes jpg

701.90 [#/sec] ab -c 10 -n 1000
338.66 [#/sec] ab -n 1000
4737 bytes jpg

platform: ubuntu-karmic x86, couchdb, kernel from repo
CouchDB/0.10.0 (Erlang OTP/R13B)
Quad Xeon 2.66, 1Gb memory

any way to get better #/sec for files >100kb? upgrade to 10.1? upgrade
erlang? or use x64 platform?
or this is not for couchdb?

sorry for bad english.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message