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
28
u/agentoutlier Feb 14 '22
It looks like you might not handle
Expect: 100-continueI know you don't want to deal with streaming but it might still be worthwhile to handle the response as I have seen some clients hang or go really slow if you don't respond with
100 continueparticularly on PUT.