[
https://issues.apache.org/jira/browse/COUCHDB-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976742#action_12976742
]
Benoit Chesneau commented on COUCHDB-1008:
------------------------------------------
recv_buf can give different results on bsd. I would keep mochiweb defaults and
let the user define them if we want rather than using setting sbased on linux
os.
> Add socket_options to the ini .configuration
> --------------------------------------------
>
> Key: COUCHDB-1008
> URL: https://issues.apache.org/jira/browse/COUCHDB-1008
> Project: CouchDB
> Issue Type: Improvement
> Reporter: Filipe Manana
> Assignee: Filipe Manana
> Attachments: COUCHDB-1008.patch
>
>
> Under some scenarios it's useful to set custom socket options, namely the
> recbuf and sndbuf options.
> For example, setting the recbuf option to 256Kb, dropped the time to upload
> a 100Mb attachment from 2507499us to 1387625us. The default value of this
> parameter is 8192 bytes (set by mochiweb).
> The following article explains how some socket options might boost
> performance under some common scenarios:
> http://www.ibm.com/developerworks/linux/library/l-hisock.html
> Patch attached
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.