News for hackers. Stuff that matters.
Re:Let's not use HTTP over TCP for mobile apps anymore by jhugg on Friday April 10, 2015 @10:36AM (#9354580)
Totally lazy commenting by me here, but isn't there a mobile shell that was designed to work well over high latency, iffy connections.

This? https://mosh.mit.edu

Maybe we’re talking about the same problems.

Re:Let's not use HTTP over TCP for mobile apps anymore by chetanahuja on Friday April 10, 2015 @10:41AM (#9354621)
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.

Re:Let's not use HTTP over TCP for mobile apps anymore by feld on Friday April 10, 2015 @02:44PM (#9356322)
Mosh doesn't support IPv6. Writing software these days that only works on IPv4 is shameful.