30 ms·
HTTP uses TCP, which is always terribly slow to establish a connection, often useless with high packet loss. Mosh is UDP, so there is no connection establishme
by revelation 10y ago
HTTP uses TCP, which is always terribly slow to establish a connection, often useless with high packet loss.
Mosh is UDP, so there is no connection establishment (no need for multiple initial round trips before sending one bit of data) and no indiscriminate retransmission of data. Additionally, you can just continue sending data when your IP changes, connections aren't lost. That typically happens when in a train and you're quickly traversing multiple cells.