flâneur — a map of the web's best reading

Herding elephants: Lessons learned from sharding Postgres at Notion

notion.so · 2,531 words · saved by 1 readers

With an effort to make Notion faster and more reliable for years to come — we migrated Notion’s PostgreSQL monolith into a horizontally-partitioned database fleet.

All posts ← ← All posts Published October 6, 2021 in Tech Herding elephants: Lessons learned from sharding Postgres at Notion By Garrett Fidalgo Infrastructure Technical Lead Share this post Earlier this year, we took Notion down for five minutes of scheduled maintenance. While our announcement gestured at “increased stability and performance,” behind the scenes was the culmination of months of focused, urgent teamwork: sharding Notion’s PostgreSQL monolith into a horizontally-partitioned database fleet. The shard nomenclature is thought to originate from the MMORPG Ultima Online , when the ga

Explore this link on the map →

related reading