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.

orel


      

Reply via email to