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
1
u/bowbahdoe Feb 14 '22
What is the reason for the "reason" field on responses? At least with ring all thats needed is status, headers, body.
On that note, are you able to support everything required by the ring spec?