Hi,
I’m about to start work on a simulation which sends its updates p2p. Depending available bandwidth a peer will have between 6 - 20 active connections.
I haven’t done any tests yet, but would NIO be helpfull here? I’ve read mixed stories; That NIO is overly complex, that a thread per socket performs better for a small number of connections than NIO, and conversely that the memory footprint of a thread per socket adds up quickly…
Thanks!
Matthijs