tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esmond Pitt" <>
Subject RE: Handling requests when under load - ACCEPT and RST vs non-ACCEPT
Date Wed, 07 Nov 2012 01:18:20 GMT
That wouldn't have any different effect to not calling accept() at all in
blocking mode, or to thread starvation such that the accept thread didn't
get a run. It wouldn't make any difference to whether the client got a
connection refused/reset. The backlog queue would still fill up in exactly
the same way and then the platform would then react to new incoming
connections in exactly the same platform-dependent way.

> What's done by HttpComponents is essentially turn off interest in
SelectionKey.OP_ACCEPT [1] if I remember [2].

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message