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

35 comments sorted by

View all comments

Show parent comments

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?

1

u/agentoutlier Jul 27 '22

Yes. I agree.

It was your tone. Read your comment.

“I doubt that and know you are wrong”.

Nothing I said was wrong. I take saying things correctly on a technical forum more seriously than other parts of reddit.

And I would not have minded the explanation of it (HTTP) if weren’t for the opening sentence.