2 ms·
How does it compare performance-wise to the Netty solution? Is it better at 100k+ connections?
by rbranson 16y ago
How does it compare performance-wise to the Netty solution? Is it better at 100k+ connections?
- amix 16y agoOur node.js solution uses around 10x less memory than the Netty solution. It also serves many more req. pr. sec on a lot of open connections. Of course, Netty might have improved since we used it and we might have used it wrongly. Generally my experience was good with Netty and buying a lot of memory is cheap, so Java developers should definitely check it out. A quick note is that we have implemented a custom java.nio solution and it had similar memory usages like Netty. It was much harder to code, so I would not recommend using java.nio directly, especially since there is little to gain in terms of perfomance/scalability.