[jboss-dev-forums] [JBoss ESB Development] - ESB CEP support for multiple event streams
David Ward
do-not-reply at jboss.com
Tue Jul 27 15:09:44 EDT 2010
David Ward [http://community.jboss.org/people/dward] replied to the discussion
"ESB CEP support for multiple event streams"
To view the discussion, visit: http://community.jboss.org/message/554682#554682
--------------------------------------------------------------
Not sure that another thread is necessary for the performance/scalability discussion. It's kinda ingrained as an aspect of this use case, right?
On a somewhat related note, I'm concerned about thread safety. Gut first reaction to support what you want would be to have another action (or a property of this action), which specifies the a combination of the original ruleProperties (which is how we cache stateful sessions today) PLUS an entry-point name perhaps? The problem with that, in my mind, is synchronization, as stateful sessions are not thread-safe. In BusinessRulesProcessor, we currently lock() on access to the cached session. To have multiple actions being executed by services in different threads lock on the same stateful session is not very condusive to CEP applications, where Very High throughput is expected.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554682#554682]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100727/7e46467e/attachment.html
More information about the jboss-dev-forums
mailing list