geertvos / gossip

Gossip Cluster Framework
39 stars 10 forks source link

Use vector clocks instead of absolute time #1

Open romix opened 11 years ago

romix commented 11 years ago

Very nice and small gossip framework!

But it seems that you use absolute time which is not very safe in distributed environments. Probably it is a better idea to use vector clocks instead? Some well-known projects like Akka Cluster, Riak, Cassandra and Voldemort seem to use this approach.

geertvos commented 11 years ago

Thank you for the valuable feedback. I am considering building it in indeed. Currently I rely on a NTP daemon running in the environment to sync the time.