25 Nov 2026 David Denton on http4k
HTTP 4k is a functional Kotlin toolkit for web applications that enables fast, in-memory testing of entire systems by modeling servers and endpoints as simple, composable functions.
More Software Engineering Radio episodes
Published 2 Dec 2026
Duration: 48:27
NTP synchronizes computer clocks using atomic references and latency calculations, ensuring accuracy for critical systems like GPS, databases, and authentication protocols.
Sachin Singh, former software engineering lead for time synchronizsation at AWS, discusses the Network Time Protocol (NTP) -- a key protocol for commu...
NTP is a fundamental protocol that keeps computers synchronized over the internet. Without external synchronization, a computer's quartz crystal can drift by three to four seconds a day, compounding to minutes over a year. Atomic clocks, which lose about a second in 50 to 100 million years, serve as the reference time source, and NTP defines how to retrieve time from them. Servers and data centers do not rely on superior hardware in each machine; instead, they synchronize to atomic clocks via NTP.
Accurate timekeeping is critical across many applications. GPS breaks at nanoseconds, trading applications at microseconds, databases at milliseconds, two-factor authentication at seconds, OAuth and JWT at minutes, and TLS certificates at hours. The NTP protocol operates over UDP and accounts for network latency by recording four timestamps (t0 through t3), assuming symmetric travel time. Clients like chrony make sixteen requests by default, discarding high-latency responses.
The infrastructure follows a strict stratum hierarchy, from stratum zero (atomic clocks) through stratum fifteen, with stratum sixteen indicating unsynchronized. Major cloud providers run internal NTP services for their data centers, while public pools are maintained by volunteers and government institutes. Practical lessons include storing UTC with timezone information and monitoring the offset metric, which was maintained at 500 to 800 microseconds in the AWS implementation discussed.
What if you add a time-offset metric to your existing monitoring dashboard?
What if you switch your application's time source to your cloud provider's internal NTP endpoint instead of a public pool?
What if you refactor your database schema to store every timestamp as UTC plus an explicit timezone field?
25 Nov 2026 David Denton on http4k
HTTP 4k is a functional Kotlin toolkit for web applications that enables fast, in-memory testing of entire systems by modeling servers and endpoints as simple, composable functions.
12 Nov 2026 Marian Kamenistak on Product Management for Software Engineers
As AI automates coding, engineers must master product management, focusing on customer value, rigorous validation, and business outcomes to remain valuable.
29 Oct 2026 Danilo Krummrich on Rust in the Linux Kernel
"Nova GPU driver project integrates Rust into the Linux kernel to replace the aging Novo driver, leveraging Rust's memory safety for better reliability and performance while addressing firmware and architectural challenges through incremental, collaborative updates."
7 Oct 2026 Sahil Walia on Schema Changes and Data Migrations
Recommended: Schema as source of truth
"Schemas define data structure, apply across systems, and require careful evolution to avoid breaking changes, with best practices including additive updates, blue-green deployments, and stable identifiers."
30 Sept 2026 Raju Dandigam on Building Production AI Agents
"Explores production AI agents, their autonomy, safety, and engineering best practices, comparing workflows, tool design, orchestration, and memory systems while addressing challenges like cost, latency, and reliability."