Under load, some responses only return after 10 seconds
See original GitHub issueSimilar to what was reported in #1344 and possibly related to #1205, if I create a “hello world” CherryPy server, and run hey against it, I see many requests complete only after the 10 second socket timeout.
Installing collected packages: backports.functools-lru-cache, six, more-itertools, cheroot, setuptools, zc.lockfile, pytz, jaraco.functools, tempora, portend, cherrypy
Successfully installed backports.functools-lru-cache-1.5 cheroot-6.5.4 cherrypy-18.1.0 jaraco.functools-2.0 more-itertools-5.0.0 portend-2.3 pytz-2018.9 setuptools-40.6.3 six-1.12.0 tempora-1.14 zc.lockfile-1.4
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (12 by maintainers)
Top Results From Across the Web
Ajax jQuery returning successfully after 10 seconds when it ...
I've got a jQuery ajax call which goes of to the server backend.php script and told to sleep for 13 seconds (or more)...
Read more >Response Time Limits: Article by Jakob Nielsen
10 seconds is about the limit for keeping the user's attention focused on the dialogue. For longer delays, users will want to perform...
Read more >Taking a Timeout from Poor Performance | APIs You Won't Hate
Here's a plan: set the timeout to 400ms, add a retry after 50ms, then if the first attempt is taking a while boom,...
Read more >How fast should a website load in 2022? - Hobo Web
People would not return to websites that took longer than four seconds to load and formed a “negative perception” of a company with...
Read more >A Complete Guide to Timeouts in Node.js - Better Stack
createServer() has been configured to respond 10 seconds after a request has been received so that the timeout will take effect.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @webknjaz,
Thanks for your reply.
I have seen that https://github.com/cherrypy/cheroot/pull/277 has been merged and tested cheroot 8.4.0 that was released shortly after ; I have not encountered the issue since, so at least in my environment it seems to be working.
Thanks again for your help and the fix.
Best regards, Nathan
And https://github.com/cherrypy/cheroot/issues/91 + https://github.com/cherrypy/cheroot/pull/117