logo       

Re: Asynchonrous and synchronous messages on same channel: msg#00008

java.javagroups.general

Subject: Re: Asynchonrous and synchronous messages on same channel



Bela Ban wrote:

> Note that you can use the Dispatcher to do both anyway: castMessage()
> has a mode parameter, which can get GroupRequest.GET_ALL (block for all
> replies, minus the suspected ones) or GroupRequest.GET_NONE (wait for no
> replies), which is essentially asynchronous.
>

Ok, that's interesting.

Are there any performance implications of doing async sending this way
as opposed to a straightforward send() ?

The use case I'm thinking of here is casting of unreliable messages to
distributed topic peers in JBM, so we can expect a lot of traffic.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise