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.
Vector Clocks
To explain in simple terms, Vector clocks are an extension of Lamport clocks, where…