Re:Is Redlock Safe? Reply to Redlock Analysis
by Dylan16807 on Wednesday February 10, 2016 @03:00PM
(#11075535)
Use CLOCK_MONOTONIC. Or you could make your client abort when the clock goes backwards.
If someone forks a VM from a running snapshot, you're screwed whether they mess with the clock or not.
System clock will take a larger step than usual. It won't go backwards.
Assumes that checkpoint and restore to a previous time won't happen.
NTP only drifts the clock (under normal operation).
Unless it's a system like this. Note that this was pulled at about 1pm EST.
Under normal operation it will only move forward'Under normal operation' is not really a high bar for distributed systems. After all, the network is reliable 'under normal operation' too.