Everyone dealing with actors, multithreading, distributed systems should read about Vector Clocks:
- https://en.wikipedia.org/wiki/Vector_clock
- Detecting Causal Relationships in Distributed Computations:In Search of the Holy Grail, Schwarz et al - http://www.vs.inf.ethz.ch/publ/papers/holygrail.pdf