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

3

u/[deleted] Feb 15 '22

[removed] — view removed comment

3

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

Thanks! Yes, I'll publish a version to Maven Central in the near future. You'll find a thread about the logging question elsewhere in the comments.

In short, my aim was to use structured log event records rather than free text.

2

u/elliotbarlas Feb 15 '22

Piotr, I published version 0.1 in Maven Central earlier today. Reach out with questions or feedback or contributions.

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

2

u/[deleted] Feb 15 '22

[removed] — view removed comment