Clocks and ordering

Two servers save the same profile a second apart, and the database keeps the one with the later timestamp. But one server's clock runs three seconds fast, so the older edit wins and the newer one silently disappears. In a distributed system, you can't trust the time.

In this lesson you'll learn to

Create a free account to open this lesson

It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.