Book: D&D of MOGs

TCP Peculiarities for Games, part 1

March 7, 2017 by “No Bugs” Bunny

Exponential Back-Off

Quote:

the best we can hope when using a single TCP connection over 5%-loss channel – is having 1.5-second “lag spike” every 5 or so minutes, and a 3-second “lag spike” every 2 hours.

Another Quote:

we may already have the-information-we-need on the receiving host – but this information is hidden from us by layers of abstraction on receiving side

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming

Read more

Client: Installer & Auto-Updates

February 28, 2017 by “No Bugs” Bunny

Update of Updater

Quote:

Pretty much whatever-we-do, there will be a certain percentage of players which are trying to run an obsolete version of the Client forever-and-ever

Another Quote:

It is very important to keep updater transaction-oriented.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and Tricks

Read more

Packet Loss for an App-Level Developer. Part II. Last Mile, Wi-Fi, and Summary

January 24, 2017 by “No Bugs” Bunny

Last Mile

Quote:

Burstable packet loss. May be caused by a neighbor preparing his breakfast

Another Quote:

if there is a NAT device on the way from your Client to your Server – a sudden IP change can occur with absolutely no notification to Client whatsoever.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming

Read more

Packet Loss for an App-Level Developer. Part I. Router Failures, BGP Convergence Time, AQM, Traffic Shapers.

January 16, 2017 by “No Bugs” Bunny

Active Queue Management

Quote:

All the routers, switches (actually – pretty much each and every device which forms Internet infrastructure) – are allowed to drop each and every packet.

Another Quote:

TCP, when it observes a dropped packet, interprets it as an indication of congestion – and slows down.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming

Read more