couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: couchdbkit 10x slower than "Requests"?
Date Tue, 11 Dec 2012 05:11:10 GMT
On Tue, Dec 11, 2012 at 12:12 AM, Holger Krekel <holger.krekel@gmail.com>wrote:

> I found the reason.  After i discovered that if i open a requests.Session
> and perform requests from there, it became as slow as the couchdbkit
> connection.  The issue is that couchdb by default seems to delay TCP
> replies on a http-1.1 persistent connection.  Configuring couchdb like
> this:
>
>        [httpd]
>        socket_options = [{nodelay, true}]
>
> makes couchdbkit indeed faster than requests.
>
>
Odd, sounds like there is something wrong somewhre. Can you eventually try
with the upcoming version of couchdb (branch 1.3 ?)

- benoƮt

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