When to use vector clock for distributed system?

Viewed 189

When to use vector clock for distributed system ? It will be great if explained with some example

1 Answers

A vector clock is a data structure used for determining the partial ordering of events in a distributed system and detecting causality violations, were you can have currently events, and a huge amount of them.

For example we can see this image

If you need to know what event triggered an error, violation or situation, in your distributed system, this is the appropriate data structure.

Related