incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Negomireanu" <sebastian.negomire...@justdesign.ro>
Subject RE: Performance issue
Date Tue, 03 Nov 2009 21:35:16 GMT
The issue is not sending documents in batches, but the extremely slow
insertion of individual documents. I think that a large amount of use cases
involve working with a single document instead of batches. There is no way
in the world an end user would cope with a 5 second response time for a
simple CRUD operation.


Best regards,
Sebastian Negomireanu | CTO / Managing Partner JustDesign Sibiu, Romania
+40-726-181186 | +40-788-757462
sebastian.negomireanu@justdesign.ro

SC JustDesign SRL | Str. Dorului 20, 550352, Sibiu, Romania
+40-269-210008 | office@justdesign.ro | www.justdesign.ro 


-----Original Message-----
From: kosta@fillibach.de [mailto:kosta@fillibach.de] 
Sent: Tuesday, November 03, 2009 12:28 PM
To: user@couchdb.apache.org; Sebastian Negomireanu
Subject: Re: Performance issue

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





Mime
View raw message