bee icon indicating copy to clipboard operation
bee copied to clipboard

kademlia bins should reach oversaturation level

Open istae opened this issue 3 years ago • 0 comments

⚠️ Requests for support in an issue-format will be closed immediately. For support questions, we welcome you to our Discord.

Currently, the swarm network is very static, meaning the rate of new nodes joining and existing nodes rebooting is low. This, combined with kademlia's connection logic, causes bins to not fill up to oversaturation levels (eg < 20 peers).

Ideally, for a healthier network, bins should be full up to the oversaturation mark.

example:

"bins": {
    "bin_0": {
      "population": 675,
      "connected": 13
    },
    "bin_1": {
      "population": 450,
      "connected": 14
    },
    "bin_2": {
      "population": 210,
      "connected": 19
    },
    "bin_3": {
      "population": 97,
      "connected": 16
    },
    "bin_4": {
      "population": 66,
      "connected": 17
    },
    "bin_5": {
      "population": 29,
      "connected": 14
    },
    "bin_6": {
      "population": 18,
      "connected": 16
    },
    "bin_7": {
      "population": 9,
      "connected": 9
    },

Task

Acceptance criterea

Early bins must reach oversaturation number of peers.

istae avatar Aug 02 '22 18:08 istae