A
Andersen
Say I have a machine with high speed concurrent IO, if I use one thread
which uses NIO (for SocketChannels) with a Selector, would it not impair
the performance? What is the solution?
Can I mix NIO with ordinary blocking calls? Say the selector says there
is data on a channel, then I use blocking IO on that channel in a
different thread?
which uses NIO (for SocketChannels) with a Selector, would it not impair
the performance? What is the solution?
Can I mix NIO with ordinary blocking calls? Say the selector says there
is data on a channel, then I use blocking IO on that channel in a
different thread?