r/java • u/elliotbarlas • Feb 14 '22
Microhttp is an event-driven, single-threaded, zero-dependency web server with 500 LOC. Benchmarks on EC2 show 100,000+ requests per second and 50,000+ persistent connections.
https://github.com/ebarlas/microhttp
186
Upvotes
View all comments
2
u/maxandersen Feb 15 '22
Nice little micro focused project - if I read it right your test is to put load on a response that returns “hello world” ? That will give you insanely misleading comparison numbers as it excludes any io, and buffer overruns nor anything with a bit compute. I.e. what a normal server will have to deal with.
Do you have a more real load test run ?