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

107 comments sorted by

View all comments

60

u/nutrecht Feb 14 '22

You should add a license. As it stands it's not actually open source.

Anyway; it's pretty neat :) I doubt anyone would pick it over Netty, but it looks like a fun project.

37

u/elliotbarlas Feb 14 '22

Agreed. Any license suggestions? Something that is maximally permissive and well known.

At least one person will pick it over Netty!

56

u/nutrecht Feb 14 '22

I just slap MIT on everything. It's basically the "here, take it, I don't care" of OS licenses :)

48

u/elliotbarlas Feb 14 '22

Added MIT license via the inline add-file option in GitHub. Very convenient!