News for hackers. Stuff that matters.
Re:Preventing server overload: limit requests being processed by abritinthebay on Monday August 07, 2017 @02:18PM (#14949816)
This is basically how Hapi works in the NodeJS world.

If the event loop is too long (you configure this) it means you're doing too much! So it issues 503s to all new traffic until the server can cope with the requests it's receiving and get the loop time time.

Works very well and you can configure it to do the same with memory limits as well.

Doesn't fix all issues, but it's a good way to keep your site usable by some users at least.

Re:Preventing server overload: limit requests being processed by necrodome on Monday August 07, 2017 @02:53PM (#14950168)
Not for some users though, usable for some requests. Users will still be annoyed when they can't complete actions, because some of their requests are failing randomly.
Re:Preventing server overload: limit requests being processed by abritinthebay on Monday August 07, 2017 @06:15PM (#14951699)
That's true, and it is a limitation.