You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Benoit Chesneau <bc...@gmail.com> on 2008/04/04 19:16:21 UTC

diff to make things faster on http interface with bsd*

Hi,

Here is a little patch to make things faster on http interace on
openbsd, freebsd and other free bsd especially in testing suite.
(results are 5x-7x faster). It seem that on bsd, socket.recv wait for
data until the server close the connection, wich explain why you get
slow results. If you set http header to connection:close it improve a
lot the speed.


- benoît

Re: diff to make things faster on http interface with bsd*

Posted by Benoit Chesneau <bc...@gmail.com>.
On Fri, Apr 4, 2008 at 7:16 PM, Benoit Chesneau <bc...@gmail.com> wrote:
> Hi,
>
>  Here is a little patch to make things faster on http interace on
>  openbsd, freebsd and other free bsd especially in testing suite.
>  (results are 5x-7x faster). It seem that on bsd, socket.recv wait for
>  data until the server close the connection, wich explain why you get
>  slow results. If you set http header to connection:close it improve a
>  lot the speed.
>
>
>  - benoît
>

seem that patch isn't in the ml (blame apache or gmail...) , so here
is the direct link to it  :
http://babilu.metavers.net/couchdb/patch-share_www_script_couch_js.diff.txt


- benoît