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/RockleyBob Jul 26 '22

What I saw:

500 LOC

What I read:

The opposite of Spring

I think that’s the gist. No magic.