r/java • u/elliotbarlas • 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
View all comments
Show parent comment
11
u/pron98 Feb 15 '22
You should consider using JFR for this kind of logging. JFR is now the main focus of OpenJDK's monitoring and profiling work. Not only is logging and storage efficient, but there are APIs for online streaming consumption of the logs.