Move Kademlia Hash table file to memory or system drive instead of storing on node drive due to constant file access and small file size

  • adam lentz
  • Apr 5 2019
  • Will not implement
  • Attach files
  • Admin
    Brandon Iglesias commented
    9 Sep, 2019 07:16pm

    Hey Ryan,

    We are going to be removing Kademlia because its no longer going to be used for node discovery. there is a great discussion and design doc on this topic in our forum.

  • Ryan Curtis commented
    24 Apr, 2019 02:36am
    If file is stored in memory, there is risk of losing the hash table on every break in node uptime. This could be negated by flushing back to disk when safely stopping the node. Since the file size is very small, this would be my choice. The risk then would just be if the node crashes unexpectedly. Then you may have to rebuild the hash table from scratch. Perhaps checkpoints every 6 hours to disk or so could be used to defer this risk.