incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <fdman...@apache.org>
Subject Re: CouchDB performance
Date Wed, 17 Aug 2011 04:36:50 GMT
On Tue, Aug 16, 2011 at 9:18 PM, John Cheng
>> Have you tried setting server's socket options, in the .ini config, as
>> I suggested before? (setting nodelay to true)
>>
>>
> You know I really thought I had tried that last night without seeing a
> difference. I just tried it again right now and saw that was indeed the
> source of my problem. Boy do I feel embarrassed right now.
>
> Thank you for your patience!

Np.
Yes, default is false. For me, on Linux 32 bits at least, nodelay set
true makes a huge difference as well.


>
> Just for the record, this is the setting
>
> socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
>
> In default.ini it is commented out, and I assume by default nodelay is set
> to false.
>



-- 
Filipe David Manana,
fdmanana@gmail.com, fdmanana@apache.org

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Mime
View raw message