kocolosk commented on issue #1409: Network performance issue (30 secs for 8mb PUT) URL: https://github.com/apache/couchdb/issues/1409#issuecomment-399984442 I _think_ this one dates back to https://issues.apache.org/jira/browse/COUCHDB-1986. I wasn't too involved with that investigation but when I read through the comments it seems that we didn't have a great reason for customizing the buffer size beyond the fact that it improved things in those specific scenarios where tests were timing out. Note that under the hood mochi was using a fixed `recbuf` as well; we were just bumping up that fixed value. CouchDB master has upgraded the mochiweb dependency to `v2.17.0` which includes the option to set the buffer to `undefined` and let the OS manage it. Probably a good idea to start testing with the buffer set to `undefined` now so we can evaluate whether we want to switch to that as a default. I'm with @stevedrew that we probably do want to go that route.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
