Closed vykulakov closed 4 years ago
The same result can be observed without data compression. It happens because of the framing layer: it creates and writes immediately to a socket frame serials, frame sizes, number of frames, frame content and so on. And it results in many separated network requests.
Using compression with buffer:
Using compression without buffer: On the second screenshot, ten or more lines are not shown.
So buffering makes things much better.