I am thinking, how does Nginx forward TCP connections. Does it create a
single TCP connection to backend server (considering single backend) or
many as clients connected to the Nginx proxy. What I mean to say is, as
Nginx Proxy receives a client connection, it must call Accept and create
new Socket connection and call Connect on it every time, it receives a
Or does it create a single Socket to the backend at the start of Nginx
basically sends the data over this single connection. If it is a single
connection, how does Nginx knows which client to reply when it receives
reply from the backend server.
How does it work?
Can anyone please provide some details?
View this message in context:
Sent from the nginx mailing list archive at Nabble.com.