项目作者: hexafluoride

项目描述 :
Simplified implementation of the Chord DHT model for learning purposes
高级语言: C#
项目地址: git://github.com/hexafluoride/Chordette.git
创建时间: 2019-10-27T22:03:42Z
项目社区:https://github.com/hexafluoride/Chordette

开源协议:MIT License

下载


Chordette

Simplified implementation of the Chord DHT model for learning purposes.

Features

  • All Chord primitives as described in the whitepaper
  • Networking support, with a tracker system implemented in hexafluoride/Harmony
  • A higher layer to Chord, handling things like key handoff and abstraction of the successor(hash(key)).{get, put}(hash(key)) chain: implemented in hexafluoride/Harmony
  • Data duplication: implemented in hexafluoride/Harmony

Performance metrics

The following metrics all scale with log(N) where N = peer count, matching the performance guarantees laid out in the Chord whitepaper, which corroborates the correctness of this implementation to some degree.

Milliseconds spent per query

Bytes on wire per query

Messages sent per query

Screenshots

Chordette immediately after boot, in the process of stabilization

Chordette immediately after boot, in the process of stabilization

Chordette a few minutes after boot, when stabilization is complete

Chordette a few minutes after boot, when stabilization is complete

License

Chordette is licensed under MIT.