
Lamport timestamps
Lamport timestamps are a way to order events in distributed computer systems, where multiple computers work together without a shared clock. Each system keeps a counter that increases with every event it performs. When systems communicate, they share their counters, allowing each to update its own to ensure a consistent order. This helps determine which events happened before others, maintaining a logical sequence. Lamport timestamps don’t specify exact times but provide a way to understand the relative order of events across different systems in a reliable manner.