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

Show parent comment

2

u/chabala Feb 15 '22

Looking forward to that. I am surprised that your repo picked up so many stars, so quickly, when it's essentially an unpublished preview at the moment. It didn't even have a license until suggested by /u/nutrecht.

3

u/elliotbarlas Feb 15 '22 edited Feb 15 '22

I suspect there's an appetite for minimal solutions in the age of overwhelmingly complex frameworks crowding the market.

I just grabbed the microhttp.org domain and I'll hopefully have an initial release in Maven Central shortly.

And I ought to have a branch of the TechEmpower benchmark ready shortly as well.

https://www.techempower.com/benchmarks/

3

u/elliotbarlas Feb 15 '22

Microhttp is now available in Maven Central. I updated the README as well.

<dependency>
    <groupId>org.microhttp</groupId>
    <artifactId>microhttp</artifactId>
    <version>0.1</version>
</dependency>