3min chapter

Signals and Threads cover image

Clock synchronization with Chris Perl

Signals and Threads

CHAPTER

What's the Role of the Two Timestamps on the Server?

If the clocks were in sync, you know that the timestamp that you took minus the date I sent should be equal to the delay of the packet to get to you. And vice versa. So if you ask me what time it is, I write down when I receive it and then I write down the time where I send it back. You could imagine a simple protocol with just three timestamps. It certainly seems like something you can in practice ignore because if you just look at the number of parts per million or whatever that they were talking about in terms of how much drift there is in a real computer clock, I think that is in fact pretty tiny.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode