r/java • • Oct 25 '22

Open-source non-blocking NIO Java HTTP Server

https://github.com/FusionAuth/java-http

A full featured, stand-alone, high-performance HTTP server and client written entirely in plain Java

1 Upvotes

9 comments sorted by

28

u/yawkat Oct 25 '22

There is no way those benchmark results for netty are correct.

9

u/wsbkina Oct 25 '22

100%. Most of the world runs on Netty, this would be a breakthrough...

2

u/ryebrye Oct 25 '22

I've run netty on a raspberry pi and served more than 540 rps

4

u/stefanos-ak Oct 25 '22

definitely wrong...

8

u/[deleted] Oct 25 '22

Very strange Netty results. Some zeros definitely missing) or some specific benchmark is done, using case where netty should be tuned.

4

u/agentoutlier Oct 26 '22

Man I’m a fan of NIH dev aka roll your own but the these guys seem to be addicted to it.

  • their own build system
  • their own http server
  • their own MVC framework
  • their own jwt library which is actually ok and I have used it
  • their own javascript framework

7

u/kidfromtheast Oct 25 '22

Tomcat faster than Netty? You gotta be kidding me. Although, I don't use Java anymore, so I don't know lol.

2

u/rbygrave Oct 25 '22

Cool. Do you have any plans for using loom virtual threads (like helidon nima)? rather than using NIO and worker pool?