Lamport timestamps is a simple algorithm used to determine the order of events in a distributed computer system.