[Zope-dev] How to make Zope fail nicely under high load?

Lennart Regebro regebro at nuxeo.com
Wed Feb 11 06:30:52 EST 2004


*Scratches head*. Isn't it possible to just timestamp every request in a
list of running requests, and in the beginning of each request check how
long the currently processing requests have been running, and if that sum is
above a specified time, fail?

OK, you get the problem that images may not load even if the main page does,
but is that really worse for the end user than not getting anything?
Hysteresis could also be used, so that all requests fail after the time
limit have been reached once, until the total time fall under another
smaller time limit.


http://www.homestarrunner.com/systemisdown.html






More information about the Zope-Dev mailing list