4 ms·
I think vert.x looks pretty cool and was just about to try it out before this. I'm doing some work that requires a neat Java based NIO web server. I've done a l
by scanr 14y ago
I think vert.x looks pretty cool and was just about to try it out before this. I'm doing some work that requires a neat Java based NIO web server. I've done a lot of work on top of Netty directly but vert.x looks like a nice higher level abstraction (e.g. routing etc.).
nodejs is great but having the JVM and it's vast set of libraries is pretty compelling.
- pootch 14y agoYeah and that 8GB max heap (due to GC pauses) of the JVM is to DIE FOR~
- andrewvc 14y agoWell, that's the beauty of OSS, the work isn't lost, it just may need to be forked.
- jbooth 14y agoI'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.
- koko775 14y agoConsider Finagle (from Twitter), perhaps?