News

Generally, network communication ... the base Java socket programming model that we’ve just explored is sufficient. For applications involving more intensive I/O or asynchronous input/output ...
When you use non-blocking sockets, this problem is avoided. Scatter/Gather I/O The other interesting technique is scatter/gather I/O or using readv(2) and writev(2) for network and/or disk I/O.