3 ms·
You're spot on. NIO has always been slower but it allows you to process more concurrent connections. It's essentially a time/space trade-off: traditional IO is
by bnoordhuis 16y ago
You're spot on. NIO has always been slower but it allows you to process more concurrent connections. It's essentially a time/space trade-off: traditional IO is faster but has a heavier memory footprint, NIO is slower but uses less resources.
- dylanz 16y ago... and I think your synopsis is spot on as well. If someone could counter this, I'd love to hear it.