stevedrew opened a new issue #1409: Network performance issue (30 secs for 8mb PUT) URL: https://github.com/apache/couchdb/issues/1409 <!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- If you're describing a bug, tell us what should happen --> <!--- If you're suggesting a change/improvement, tell us how it should work --> ``` time curl -N -X PUT http://admin:[email protected]:9999/test/doc2001/file.txt -H "Content-Type: application/octet-stream" -d@8mb_file.dat ``` Should complete in a reasonable amount of time, ie < 1 second (its only a 8mb file). ## Current Behavior <!--- If describing a bug, tell us what happens instead of the expected behavior --> <!--- If suggesting a change/improvement, explain the difference from current behavior --> The above command if issued from a remote client (but over a very fast network) **can take up to 30 seconds.** The same command issue from a client on the same network takes < 1 second. Network is very fast between servers, an scp of same file takes < 0.1 seconds. Tested on dedicated servers and multiple AWS servers. Always same result. It seems like maybe couchdb network layer maybe sending too small a packet? I have configured a total of 6 servers mix of AWS and dedicated, all experience the same slowness ## Steps to Reproduce (for bugs) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. Setup a 16.04 Ubuntu server 2. Installed couchdb per documentation 3. Issue a PUT of a 8MB binary file from a remote server to couchdb server ## Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * Version used: 2.1.1 * Browser Name and version: curl * Operating System and version: Ubuntu 14.04 or 16.04 just single nodes and no special configuration.
---------------------------------------------------------------- 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
