Why Write-Ahead Logging Survives Crashes
from The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code Hosted by Fexingo
In Episode 169 of The Technical Co-Founder Podcast, Lucas and Luna break down the write-ahead log (WAL) — the humble file that keeps PostgreSQL, SQLite, and countless other databases from losing your data when the power dies. They trace a single transaction from commit to crash recovery, explain why WAL makes durability possible without fsync-ing every page, and look at how modern systems like etcd and Kafka use WAL for consensus and replication. Along the way they discuss the trade-offs of group commit, the cost of durability, and what happens when a database chooses to skip the log entirely. If you've ever wondered why your database survives a sudden reboot, this episode gets to the heart of it. #WriteAheadLog #WAL #DatabaseInternals #Durability #CrashRecovery #PostgreSQL #SQLite #etcd #Kafka #Transactions #Consensus #Replication #BusinessTechnology #TechPodcast #FexingoBusiness #BusinessPodcast #Engineering #SoftwareDevelopment Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.