You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the picture below, I want the connection(s) from client(s) to server (labeled with b) to use the Nagle's algorithm while the connection(s) from visitor(s) (labeled with a) to use the tcp nodelay algorithm. I also want the traffic between rathole client and services (designated with c) to use tcp nodelay again. This shouldn't make a difference for internal services but one may be using an external service. My only concern is to manipulate the default behavior of the channel between the client and the server.
I have a massive amount of traffic between the client and the server, so I'm expecting the latency to not increase by a huge margin. As far as I understand, Nagle's algorithm waits for the size of the packets to reach a certain threshold before sending them. Therefore, if the traffic is significant enough, Nagle's algorithm shouldn't wait much. This is not the case for the visitor and the server considering that the traffic of a visitor might be negligible. By doing so, I'm hoping to reduce the congestion between the client and the server. How correct is my speculation?
I'm believe that I should disable nodelay on the client and not touch the server but I'm not 100% sure. Is it correct or should I do it the other way around?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the picture below, I want the connection(s) from client(s) to server (labeled with b) to use the Nagle's algorithm while the connection(s) from visitor(s) (labeled with a) to use the tcp nodelay algorithm. I also want the traffic between rathole client and services (designated with c) to use tcp nodelay again. This shouldn't make a difference for internal services but one may be using an external service. My only concern is to manipulate the default behavior of the channel between the client and the server.
Beta Was this translation helpful? Give feedback.
All reactions