McCache / McCache-for-Python

MIT License
0 stars 1 forks source link

Reliable UDP #3

Open McCache opened 9 months ago

McCache commented 9 months ago

UDP is by nature is not reliable compared to TCP. However, UDP have much better performance compared to TCP. Changes to the cache must be communicated out as quick possible.

McCache need a reliable UDP message transfer. It need the following:

  1. The message need to be chunked up into smaller fragments that can fit into the IP frame along with a control header.
  2. The sender must management the acknowledgements. Fragments that timed out must be re-transmitted.
  3. The receiver must management the arrivals and assemble back the message. Missing fragments must be re-requested.
McCache commented 9 months ago

Pending testing.