devinli05 / DistributedKeyValueStore

CS 416 class project
0 stars 0 forks source link

Use Gossip Protocol for Active Node List (no node failure) #4

Closed citydabble closed 8 years ago

devinli05 commented 8 years ago

Gossip Protocol need to update active node list and integrate this info with client request handler routine before failure handling is possible.

devinli05 commented 8 years ago

The gossip protocol library memberlist provides the EventDelegate as a simple way to act upon notifications of membership change. There are two ways to use EventDelegate: hook functions or channels. We will start with hook functions.

EventDelegate source code