Boubennec Aurelien wrote:
Hi all,

I am new at Mina.

On both server and client side, there is a loop running at a certain frequency.

I just wonder which way is the best to read received messages on both sides to 
get a pretty low latency.


What I plan to do is to add the messages into a SynchronizedQueue .
I would read the messages by adding a "readQueue()" method in the loops.
I would also set a maximum amount of time for "readQueue()" for polling so the 
loop-frequency isn't disturbed.

Is it a good idea or anyone has a better solution ? (I guess my solution is 
pretty naive though)


Thanks a lot in advance for your help.
Hmmmm... Just wondering what could be the relation with MINA ? Did I missed something ?

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to