avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: SEDA vs. JMS?
Date Wed, 16 Oct 2002 21:47:56 GMT
On Thu, 17 Oct 2002 02:10, Neeme Praks wrote:
> Ok, this gives even more reason for embedding Phoenix/Avalon inside MDB.
> This way the system can still be distributed at JMS level, but can take
> advantage of SEDA concepts at single application (MDB) level.

This wont work unfortunately. The whole idea is that in SEDA instead of having 
a single request handled by one thread, you have that request handled by 
multiple threads. Each thread being pound to a particular "stage" of 
processing.

EJBs do not allow you to create threads so you can't use SEDA. Even if they 
did allow it, you would see 0 advantage because the cost of distribution and 
going through JMS will dwarf the extra scalability gained by SEDA.

-- 
Cheers,

Peter Donald
"The ability to quote is a serviceable substitute for wit." -- Maugham 


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message