Thanks Simone! I read the Jetty doc which suggests to keep acceptors equal to 
"one per cpu on a 
machine"http://www.eclipse.org/jetty/documentation/current/high-load.html

Either ways like you mentioned for high rate of short lived connections its 
good to have higher acceprtors (my case is such) and this really helps.
RegardsMonish 

     On Tuesday, November 4, 2014 3:30 AM, Simone Bordet <[email protected]> 
wrote:
   

 Hi,

On Mon, Nov 3, 2014 at 9:23 PM, Monish Gandhi <[email protected]> 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.

Correct.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


   
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to