r/java • u/elliotbarlas • 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
2
u/0x256 Jul 27 '22
This is a public discussion, so please don't feel personally attacked just because I explained something you might already know.
I explained the 100-continue flow to show that it might be a good idea to pass the final decision to the application and that application developers might benefit from this protocol feature, if it is exposed to them. This in turn explains why low-level libraries like Undertow or Netty let you control their behavior in such a great detail and not just hide the complexity and automatically handle everything for you. Undertow still fully supports 100-continue, and Netty does too. That was my point. Do you disagree?