Vector clock - Wikipedia, the free encyclopedia

CentralNotice Vector clock From Wikipedia, the free encyclopedia (Redirected from Vector clocks ) Jump to: navigation , search Vector clocks is an algorithm for generating a partial ordering of events in a distributed system and detecting causality violations. Just as in Lamport timestamps , interprocess messages contain the state of the sending process's logical clock . A vector clock of a system of N processes is an array /vector of N logical clocks, one clock per process; a local "smallest possible values" copy of the global clock-array is kept in each process, with the following rules for clock updates: Example of a system of vector clocks. Events in the blue region are the causes leading to event B4, whereas those in the red region are the effects of event B4 Initially all clocks are zero. Each time a process experiences an internal event, it increments its own...

Linked on 2014-06-09 17:35:46 | Similar Links