Lamport Timestamp

Created on 2023-10-31T13:38:31-05:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

A vector clock. Tracks a timestamp between two processes. Whenever you send a message to the other you first increment the clock by one and then transmit the messages. Upon receiving a message set your clock to the recieved message's (if its higher.)

Intended as a simple way to deal with "which request happened before what other request" when dealing with two parallel actors taking actions on their own.