zhangru-ng / distributed-system

Course projects of COP5615 Fall 15: distributed algorithms implemented in Scala
0 stars 1 forks source link

[Scala_chord] How to select a random existed node #8

Closed zhangru-ng closed 9 years ago

zhangru-ng commented 9 years ago

Create hashmap<id, name>, it can also check collision of ids. If there is no replicate id, convert the map to vector and do random selection.