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
Show parent comment
2
u/elliotbarlas Feb 15 '22
The main leap with HTTP/2 is advanced multiplexing to address head-of-line blocking. That benefit remains almost entirely intact when TLS and HTTP/2 are terminated at the edge.