Back to course home
0% completed
15. Vector Clocks
Let's learn about vector clocks and their usage.
Background
When a distributed system allows concurrent writes, it can result in multiple versions of an object. Different replicas of an object can end up with different versions of the data. Let's understand this with an example.
On a single machine, all we need to know about is the absolute or wall clock time: suppose we perform a write to key k
with timestamp t1
, and then perform another write to k
with timestamp t2
. Since `t2 > t1
.....
.....
.....
Like the course? Get enrolled and start learning!