3 ms·
I'd respectfully suggest that what you actually need is a java-based performant web server, whether that's NIO or a threadpool and accept loop.
by jbooth 14y ago
I'd respectfully suggest that what you actually need is a java-based performant web server, whether that's NIO or a threadpool and accept loop.
- scanr 14y agoThat may well be the case. I haven't benchmarked regular IO vs. NIO recently. Certainly when I did before, there wasn't too much in it but I did get more reliable latency from NIO and the rest of the stack is non-blocking so it's a neat fit. In theory NIO scales better than regular IO for the 100,000 connections case but that's not one that I need in my particular scenario.
- spullara 14y agoTry webbit.