Logical Clocks(II) — Clock Series

In my last article, we learned about Lamport Clocks and we saw how Lamport clocks can help us define ordering between our operations. However, given Lamport times( L(A) < L(B) ), we cannot tell whether A happened before B or A and B happened concurrently. It only tells us that B did not happen before A.

If we need to determine whether A happened before B, or the events were concurrent, we need to use Vector Clocks.

To explain in simple terms, Vector clocks are an extension of Lamport clocks, where…

--

--

Senior Engineer with experience in designing and architecting large scale distributed systems.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pratik Pandey

Senior Engineer with experience in designing and architecting large scale distributed systems.