Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Where does Jetty dispatch to worker thread happens.


On Mon, Nov 3, 2014 at 9:23 PM, Monish Gandhi <monishgandhi@xxxxxxxxx> wrote:
> Thanks Simone, I am trying to understand how does configuring more acceptor
> help. Suggested number is equal to number of cores.

More acceptors are only useful for a very high rate of short lived connections.
Typically suggested number is 1, not the number of cores.
Don't confuse acceptors and selectors.

> The Either ways multiple
> acceptor threads would compete but only one would succeed. Which means all
> acceptor threads would be in BLOCKED state (waiting to lock) and only one
> would be RUNNABLE.


Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.

Back to the top