Re: [Seeks-users] DHT code evolution (repost)
Status: Beta
Brought to you by:
beniz
|
From: Loic D. <lo...@da...> - 2010-12-23 23:17:34
|
Hi, As discussed on IRC today, I think there is one class missing : DHTStorage that would handle the data associated with the keys. I would be responsible for moving the data from one node to the other, should a new node join or leave the ring. I think it would allow to remove the SGVirtualNode + SGNode (if you look at them they don't really do much more than encoding/decoding and delegating to sg_manager) and have sg_manager be a derivative of DHTStorage. Cheers |