Vector Clocks
Let's inspect what vector clocks are and how they work and satisfy strong clock condition. Let's also look at the main limitation of Lamport clocks.
Limitation of Lamport clocks
The main limitation of Lamport clocks is that they do not satisfy the strong clock condition. This means they cannot be used to infer causal relationships between events.
The underlying reason for this is that both the local and the global logical clocks for each node are flattened into a single number, which does not provide all the necessary information to track causal relationships.
So we need to maintain a set of all events that causally precede each event. This is known as a
Get hands-on with 1400+ tech skills courses.