X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=TODO;fp=TODO;h=bd8283c904d6ed372c9a84136ce204422bb6e183;hp=fc4158dfdfbabf9ded10538bca4dc0fb21473e04;hb=1e5de6cdc6ce1df1ca985e45d15c4e10931aaf38;hpb=f453f48bb025970f13d1ec10c98b95b9e7f338bc diff --git a/TODO b/TODO index fc4158d..bd8283c 100644 --- a/TODO +++ b/TODO @@ -57,6 +57,19 @@ distributions. They need to be dealt with properly by adding them to the tracking done by the AptPackages module. +Improve the estimation of the total number of nodes + +The current total nodes estimation is based on the number of buckets. +A better way is to look at the average inter-node spacing for the K +closest nodes after a find_node/value completes. Be sure to measure +the inter-node spacing in log2 space to dampen any ill effects. This +can be used in the formula: + nodes = 2^160 / 2^(average of log2 spacing) +The average should also be saved using an exponentially weighted +moving average (of the log2 distance) over separate find_node/value +actions to get a better calculation over time. + + Improve the downloaded and uploaded data measurements. There are 2 places that this data is measured: for statistics, and for