5 ms·
What if the system freezes between reading the current time from the hardware and the stead_time function returning? In short, you CANNOT rely on time in any w
by carllerche 11y ago
What if the system freezes between reading the current time from the hardware and the stead_time function returning?
In short, you CANNOT rely on time in any way shape or form for safety. You can only use it as advice & to get liveliness.
Martin's point is that Redlock pays the cost of other safe locking algorithms w/o the benefit of safety.
- jodah 11y agoThis, usually. It's fair to point out that very specialized clocks, such as Google uses with Spanner, can allow you to achieve some consistency without coordination/locks, but for pretty much anyone else the rule you stated very much applies.
- newman314 11y agoFWIW, I went digging for more recent info about TrueTime and found the following. http://www.cse.buffalo.edu/~demirbas/publications/augmentedTime.pdf http://www.cse.buffalo.edu/~demirbas/publications/augmentedT...