Hello,

I am encountering a big performance problem with CouchDB. I get response times around 500ms (and sometimes more). I've tried simple
operations like adding a very minimal document (about 5 fields, a total
payload of max 0.5 KB / doc). I've also tried the operation while running it
in a loop. After 220 seconds i've only PUT 448 documents.
After running the whole thing through a profiler (to be sure that it's not
my code causing the issues), it seems the bottleneck is in the response time
from the couchdb server.

Did you try batch=ok and bulk sending the documents?

see http://wiki.apache.org/couchdb/HTTP_Document_API
and http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API

Kind regards,
Kosta


Reply via email to