tkmct/kadrs

create Node struct

Opened this issue · 0 comments

tkmct commented

create Node struct. Responsibilities of Node struct are following.

  • manage its local hash table
  • manage k-buckets
  • handle request from other nodes or user
    • return value if it has the key-value pair in the local hash table
    • proxy request to other nodes if it doesn't