4 ms·
We use TCP for some things, UDP for some things, and our own variant on Reliable UDP for others. We use TCP for sending real-time vessel track data to the cent
by ColinWright 13y ago
We use TCP for some things, UDP for some things, and our own variant on Reliable UDP for others.
We use TCP for sending real-time vessel track data to the central correlation servers, because they need to know if the connection has dropped and change their behavior accordingly. Traffic volume is low, so congestion throttling and re-tries are not a problem. The system is able to cope with reports being delayed and then coming in much later (and catching up) because reports are time-stamped and the correlator works in fuzzy 6D phase-space.
We use UDP for sending live radar data because, frankly, if you've missed one sector of data you really, really don't want to delay subsequent sectors while waiting for the data that will be irrelevant in 2 seconds anyway. The compression and encryption schemes are specially crafted to allow for lost packets while still using solid implementations of off-the-shelf algorithms where appropriate, and lovingly hand-crafted algorithms for the non-security critical aspects.
And I can't tell you what we use our locally defined reliable UDP for.
- deleted 13y ago[deleted]
- JoeAltmaier 13y agoUsually that's for state messages. The kind of message that defines the meaning of subsequent messages. Like codec parameters, or framing data or something.