Need advice on differences in socket programming on regular vs cellular networks.
Marc Volovic
marcvolovic at me.com
Tue Apr 6 15:42:08 IDT 2010
On Apr 6, 2010, at 3:18 PM, Baruch Even wrote:
> While this is true on the surface, it's worth being aware to your
> underlying network special idiosyncrasies. There is a lot more packet
> loss than usual and round trips are longer. Design the protocol to
> reduce the problems that can be incurred due to these issues. Pipeline
> your requests and don't use a stop-and-wait method unless required.
> This will reduce the overall time it takes for your app to achieve its
> goals. If you are using a standard protocol find where you can
> pipeline in it while following the spec. There are probably other
> things you'll find along the way, the above is just what I could come
> up with on the fly.
This is true for any medium, wired, wireless or etheric - be aware of the medium's behaviour and change the app/protocol to work around the medium's weaknesses.
Marc Volovic
marcvolovic at me.com
More information about the Linux-il
mailing list