Carlo de Wolf [http://community.jboss.org/people/wolfc] created the discussion

"Re: EJB3 Session Bean Pool"

To view the discussion, visit: http://community.jboss.org/message/598177#598177

--------------------------------------------------------------
Hi Robert,

The semaphore is in place to prevent over-use, without it you can get too many 
concurrent requests which would stall the entire system. Should that condition 
be unlikely, but you still want to guard against it with less overhead, you 
should contemplate using a non-fair semaphore instead.

Other than that I don't see any issues.

Hmm, weird that the JDK does not have a fix-capacity queue implementation, that 
would fit the bill.

If you want, please share the code on github. I would very much like to see it.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/598177#598177]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to