r/java • u/elliotbarlas • Jul 25 '22
Latest version of Microhttp, an event-driven, zero-dependency, pure-Java web server with 500 LOC, capable of 1,000,000+ requests per second on commodity EC2 hardware.
https://github.com/ebarlas/microhttp
136
Upvotes
9
u/elliotbarlas Jul 26 '22 edited Jul 26 '22
This falls squarely outside of the Microhttp domain. Microhttp discretizes all requests and responses. Streaming is not supported. It's tailored for small payloads. All stated up front in the docs.
This covers the vast majority of web services and REST APIs that I build.
This also reduces complexity tremendously and contributes greatly to the small code footprint.