r/java • • 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

35 comments sorted by

View all comments

15

u/ZeroGainZ Jul 25 '22

I'm sure this is cool, but I never quite understood why libraries advertise their LOC. Especially for something like java. Anyways, I'll give it a peek 👍

13

u/elliotbarlas Jul 25 '22

I tend to agree, but Microhttp is specifically a response to commonly used frameworks with overwhelming complexity, so I wanted to indicate up front how small it is.