News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by skyde on Friday February 12, 2021 @02:08PM (#26117290)
you have a good point about http request size. But any high performance framework would not buffer the whole request to later parse it. it will do incremental parsing.

Meaning you don’t need to read all the bytes from the tcp socket before deciding which route to take. And also the handler for that route is given a stream object and will just read as many byte as it need.

There are no comments on this comment yet.