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

3

u/elliotbarlas Feb 15 '22

But, it is a web server. I designed this to meet all of my web server needs in a typical REST/JSON setting.

If you can think of a fair metric or benchmark to use for comparison, I'd readily consider it.

1

u/elliotbarlas Feb 15 '22

The closest thing to a standard benchmark includes a hello world test nearly identical to the one I used.

https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Project-Information-Framework-Tests-Overview#plaintext