Need of synchronization ?

Mahatma bade at informatik.uni-hamburg.de
Wed Aug 25 10:20:36 EDT 2010


Hi Folks,
just a short question: do I need to synchronize reading or writing with
Netty ?

I'm currently benchmarking my middleware and once in a while messages
overlap (i.e. received XML is not wellformed anymore). Sending is handled by
multiple threads, all using the same channel (calls to 'write' are
synchronized on my side), and receiving is handled by only one thread.

Thanks a lot,
Dirk
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Need-of-synchronization-tp5461477p5461477.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list