McCache / McCache-for-Python

MIT License
0 stars 1 forks source link

Reliable UDP #3

Closed McCache closed 1 week ago

McCache commented 1 year 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 1 year ago

Pending testing.

elau1004 commented 1 week ago

Implemented.