Chris Sinjakli, PlanetScale

Abstract:

Storing data is something we expect computers to just do. When your application writes data to a database, you trust it to give you that data back later, but what does it take to make that reliable?

In this session, we’ll explore the ways that computers can surprise us by failing to save or corrupting our data. We’ll do this through the lens of databases, with a focus on MySQL and Postgres.

Specifically, we’ll cover:

  • The MySQL doublewrite buffer: the mechanism MySQL uses to guarantee writes make it safely to disk
  • The Postgres fsyncgate incident: where the Postgres team realised that the guarantees around Linux’s fsync syscall weren’t as strong as they thought
  • Write-through caches on disks: how manufacturers win benchmarks at the cost of d…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help