3 ms·
Hey it's not lazy if you actually found the link ;-) Yeah I've used mosh and it comes under the general category of UDP based protocols (of which, there are ma
by chetanahuja 12y ago
Hey it's not lazy if you actually found the link ;-)
Yeah I've used mosh and it comes under the general category of UDP based protocols (of which, there are many). The purpose of designing the PacketZoom protocol (and it's attendant infrastructure) is to design something particular for the mobile native apps use case. Including things like app session based sessions, moving around between networks without breaking the session, take a single round-trip to setup the session and zero round-trips thereafter to start file transfers etc.
And then, once the transfers are started, taking care of the packet drops with a more measured backoff and retransmit policies than are available with TCP. E.g., PacketZoom protocol packets don't have to arrive in order. The receiving side can send feedback back to the sender with an exact list of what packets went missing. The sender can then make decisions about backoff on not just the fact that a packet dropped, but how many and in which locations.
Lots of other details like this allow us to handily beat TCP in all varieties of networks all over the world in speed and user experience.