diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-01-26 18:15:17 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-01-26 18:15:17 +0100 |
commit | 9830ef2bd3cdcdda93a51cdae56f19ee80f53fc8 (patch) | |
tree | 39eee8b619bfc9533655c7f51677f08e499253eb | |
parent | 9b41c00eabf04e7f24fb540aa205acc8ecc61f94 (diff) |
planning ahead
-rw-r--r-- | src/transport/gnunet-service-tng.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c index 707fe49a7..a32d1872c 100644 --- a/src/transport/gnunet-service-tng.c +++ b/src/transport/gnunet-service-tng.c @@ -32,10 +32,17 @@ * (which could be core-data, background-channel traffic, or * transport-to-transport traffic) * - * Implement: + * Implement next: * - ACK handling / retransmission * - track RTT, distance, loss, etc. - * - DV data structures, learning, forgetting & using them! + * - DV data structures: + * + learning + * + forgetting + * + using them! + * - routing of messages (using DV data structures!) + * - handling of DV-boxed messages that need to be forwarded + * - backchannel message encryption & decryption + * - * * Easy: * - use ATS bandwidth allocation callback and schedule transmissions! @@ -51,6 +58,10 @@ * - if messages are below MTU, consider adding ACKs and other stuff * (requires planning at receiver, and additional MST-style demultiplex * at receiver!) + * - could avoid copying body of message into each fragment and keep + * fragments as just pointers into the original message and only + * fully build fragments just before transmission (optimization, should + * reduce CPU and memory use) * * Design realizations / discussion: * - communicators do flow control by calling MQ "notify sent" |