|
|
|
|
|
by ubu7737
2524 days ago
|
|
Java NIO does exactly what you describe. IO is chunked optimally, the entire buffer is pulled, the API exposes a select() mechanism just like any libc, and the user is expected to frame its own received data. edit: Lemire is showing a lack of what Fowler describes as "mechanical sympathy". https://martinfowler.com/articles/lmax.html#QueuesAndTheirLa... |
|