How does the main thread web server implement this function?

This means, for example, that the module can begin to compress the response from the backend server and transfer it to the client until the entire response from the backend is received by the module. Nice!

I know this is some kind of asynchronous I / O, but simple as this is not enough.

Somebody knows?

+3
source share
2 answers

Despite the source code of the actual implementation, I reflect here:

- ( IO), ( "" ). (, ) , ( ), . .

+1

-, . , .

, , , ngnix. ngninx - , . : , , . , , "".

ngnix: : " - IO?" 1) 2) . . ngnix , . -, . Windows -.

, , , --.

0

All Articles