avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject NettyServer multi-thread?
Date Wed, 15 Jun 2011 23:29:35 GMT
I guess the answer is almost surely that Netty would start multiple threads
to read the socket channel, just trying to confirm..

when we create a NettyServer, we pass in a Single Responder. if Netty
underneath creates many threads , the same responder (and netty handler)
will be shared between these threads, so that I have to be careful in the
Responder/avro handler implementation, so that it's thread-safe, right?


View raw message