System Design Codex
Read post

Inside Look at Reddit's Metadata Store

Reddit built a unified media metadata store to consolidate scattered metadata from multiple systems into a single AWS Aurora Postgres database. The system handles 100K+ read requests per second with p50 latency of 2.6ms and p99 of 17ms. The migration used dual writes, backfill, and a Kafka-based Change Data Capture pipeline to detect and fix inconsistencies. For future scalability toward an estimated 50TB by 2030, Reddit implemented range-based partitioning using pg_partman and pg_cron, leveraging monotonically increasing post_id values to keep recent partition indexes cached in the buffer pool.

    #career#database#postgresql#change-data-capture
Mar 17•5m read time•From newsletter.systemdesigncodex.com
Post cover image
Table of contents
Requirements of the Metadata StoreData Migration ProcessDealing with IssuesWhat about Scaling?
33.1K Impressions
System Design Codex's image
System Design Codex

System Design Codex's resource offers insights, tutorials, and resources for software architects and...

1.1K Followers

•

8.1K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard