[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - re: Feedback requested on throttling ejb calls
ScottMarlowNovell
do-not-reply at jboss.com
Fri Nov 2 17:03:40 EDT 2007
Hi,
This is a cross post of http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101466
I posted on the EJB design forum about having a way to throttle ejb method invocations and Scott suggested creating an aop throttling aspect (like the asynch.* scheme).
The throttle is backed by a java.util.concurrent.Semaphore that would allow a configured number of concurrent thread requests (really semaphore permits under the covers) to proceed through the aspect.
I have this working with JBoss 4.x at the pooledInvoker level (no aspects involved) but would like to bring it into JBoss 5.x.
What do you think about the idea of having a throttling aspect?
Scott
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101471#4101471
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101471
More information about the jboss-dev-forums
mailing list