[jboss-user] [EJB3] - Re: EJB3 Session Bean Pool
Carlo de Wolf
do-not-reply at jboss.com
Wed Apr 6 07:27:05 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110406/0976449a/attachment.html
More information about the jboss-user
mailing list