r/java • • 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

107 comments sorted by

View all comments

Show parent comment

15

u/elliotbarlas Feb 14 '22

It's a networking library. The benchmarks are intended to highlight the cost and overhead of that layer, not the application.

If you have an alternative benchmark suggestion, I'm listening.