Skip to content
This repository was archived by the owner on Nov 30, 2019. It is now read-only.
This repository was archived by the owner on Nov 30, 2019. It is now read-only.

Stop relying on time #4

@paddycarver

Description

@paddycarver

Using real time in a distributed application is apparently a Very Bad Idea (tm).

Use Lamport timestamps or vector clocks for detecting race conditions.

Find some equivalent of CLOCK_MONOTONIC for Node.lastHeardFrom.

Fix the Cluster.sendToIP timers to not use real time.

Source: http://www.reddit.com/r/programming/comments/11sgc7/pastry_a_distributed_hash_table_in_go/c6pagbn

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions