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
  • Ryan Curtis commented
    24 Apr 02:36
    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.
  • Admin
    Brandon Iglesias commented
    09 Sep 19:16

    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. https://forum.storj.io/t/design-draft-removing-kademlia/1038