question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Under load, some responses only return after 10 seconds

See original GitHub issue

Similar 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:open
  • Created 5 years ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
NathanRichardcommented, Sep 1, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found