Network responsiveness

Top  Previous  Next

One final technical point: you must disable the Nagle algorithm on your client's sockets (by instructing them to set the parameter TCP_NODELAY). This guarantees crisper network transmission and better latencies (albeit at the expense of more traffic). Otherwise, the client's TCP stack might sit around waiting for you to send enough information to fill up a packet – meaning that your vital command hasn't got through to the server on time.

 

The SDK performs this chore for you automatically.