3 ms·
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 p
by skyde 6y ago
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.