News for hackers. Stuff that matters.
Re:Patterns of Distributed Systems by slt2021 on Wednesday June 28, 2023 @12:41PM (#36509004)
root of problem is using clocks from different hosts (which could be out of sync), and carrying over that time from one machine to another - essentially assuming clocks across different machines are perfectly synchronized 100% of time.

if you use a single source of truth for clocks (simplest example is use RDBMS's current_timestamp() instead of your programming language's time() function), and the problem disappears

There are no comments on this comment yet.