How Epoch Timestamps Broke Leap Seconds in Modern Databases
from The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code Hosted by Fexingo
In this episode, Lucas and Luna dig into the quiet disaster lurking inside a number you use every day: the Unix epoch timestamp. Most engineers assume the epoch just counts seconds since 1970, but leap seconds break that assumption. Lucas walks through the 2012 Reddit outage, how Google's smear technique smooths over leap seconds, and why modern databases like PostgreSQL and MongoDB still treat the epoch as if leap seconds don't exist. Luna asks the practical questions: what happens to your transactions when a leap second hits, and how do you design a system that survives it? They also explore the shift toward TAI and monotonic clocks in distributed systems. If you've ever wondered why your logs jump forward or why a cron job fired twice, this episode gives you the concrete pitfalls and the practical fixes. A short, sincere note about keeping the show ad-free appears near the end—support via buy me a coffee dot com slash fexingo if that matters to you. #UnixEpoch #LeapSeconds #Timekeeping #DistributedSystems #PostgreSQL #MongoDB #RedditOutage #GoogleSmear #TAI #MonotonicClocks #DatabaseDesign #BackendEngineering #TechPitfalls #SoftwareEngineering #BusinessAndTech #FexingoBusiness #BusinessPodcast #TechPodcast Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.