Bookmarks

A curated collection of useful reading resources I've found interesting.

51 bookmarks across 5 categories

Database Internals

discord.com

Hot partitions, compaction, JVM pauses, request coalescing, and a zero-downtime Cassandra-to-Scylla migration.

www.figma.com

How connection limits and replication constraints led Figma to a horizontally scalable Postgres architecture.

www.notion.com

A candid account of the storage and operational constraints that force a Postgres sharding migration.

www.notion.com

The mechanics and safeguards for adding Postgres capacity with a live, zero-downtime reshard.

github.blog

Partitioning trade-offs where foreign keys, joins, and application ownership meet real database limits.

shopify.engineering

A practical migration of a high-traffic relational workload onto Vitess sharding.

slack.engineering

How a large multi-tenant SaaS moved its MySQL scaling boundary with Vitess.

www.citusdata.com

Mechanism-level diagnostics for dead tuples, bloat, vacuum progress, and runaway maintenance debt.

blog.pgaddict.com

A PostgreSQL committer's guide to the estimation errors that create unexpected bad plans.

ardentperf.com

How heavy partitioning can defeat fast-path locking and create a lock-manager scalability cliff.

pganalyze.com

An obscure but important write-path bottleneck caused by shared row locks and foreign keys.

www.morling.dev

How an unconsumed replication slot retains WAL until disk becomes the outage mechanism.

paquier.xyz

The core row-locking primitive behind safe multi-worker database queues and schedulers.

tikv.org

Storage-engine trade-offs in read, write, space, and compaction amplification.

Distributed Systems

nerds.airbnb.com

The classic explanation of why cron breaks at company scale and what a distributed scheduler must add.

www.uber.com

How a durable workflow engine protects fair task processing when tenants have very different loads.

netflixtechblog.com

A production workflow-orchestration design based on task queues and JSON-defined workflows.

github.com

The architecture of durable execution: history, matching, persistence, and independently scaled task queues.

zookeeper.apache.org

The canonical ephemeral-sequential-node algorithm for leader election and failure detection.

book.kubebuilder.io

A step-by-step reconciliation loop for determining due, running, and expired scheduled work.

netflixtechblog.com

A real priority-queue architecture designed for high throughput without sacrificing latency.

engineering.fb.com

Disaster-readiness techniques for a distributed priority queue that must survive regional failures.

Performance & Debugging

www.brendangregg.com

Systematic performance analysis methodology examining system resources for Utilization, Saturation, and Errors to quickly identify bottlenecks.

Flame Graphs ↗

www.brendangregg.com

The definitive guide to finding hot code paths from CPU, memory, off-CPU, and differential stack profiles.

queue.acm.org

The longer-form performance-investigation method behind USE, with practical examples.

www.brendangregg.com

Why busy CPU percentage can hide the real limiter, and how to reason about IPC instead.

www.brendangregg.com

A production disk-latency investigation that applies resource analysis from symptom to storage tier.

people.freebsd.org

The foundational deep dive into caches, NUMA, TLBs, and the memory hierarchy.

False Sharing ↗

docs.kernel.org

Kernel documentation on cache-line contention that silently destroys multicore throughput.

blog.cloudflare.com

A tools-first kernel debugging investigation using tracing to separate application error from a Linux race.

danluu.com

Twelve cache failures distilled into recurring patterns: retries, cascading failures, and hardware surprises.

blog.flipkart.tech

JVM heap and garbage-collection tuning tied directly to a service throughput target.

www.linkedin.com

How JVM heap and GC choices shape latency SLOs in production services.

github.blog

Object-store and disk-level garbage-collection mechanics at platform scale.

discord.com

A concrete capacity and latency story for running an unusually large real-time workload.

Storage & Caching

www.amazon.science

A decade of storage, partitioning, and operational lessons from a managed key-value store.

engineering.fb.com

How Meta handles invalidation races, thundering herds, and cache/database consistency at scale.

engineering.fb.com

Production chain replication: its failure model, consistency guarantees, and storage-service design.

engineering.fb.com

RocksDB-based storage-engine choices wrapped in a distributed key-value architecture.

www.uber.com

How cache behavior and hit ratios inform an online-storage architecture at extreme read volume.

www.uber.com

Compaction, JVM, and disk-I/O work that turns Cassandra operations into a manageable fleet concern.

blog.flipkart.tech

A search-service bootstrap redesign that reduces Redis pressure with local RocksDB, LSM tuning, offset recovery, and native-memory debugging.

antirez.com

The design of Redis lazy freeing: avoiding delete-induced latency spikes while balancing memory pressure, cache misses, and threading.

oldblog.antirez.com

A first-principles explanation of write, fsync, snapshots, AOF, and the durability guarantees a database can actually make.

stripe.com

A high-availability data-migration playbook built around document databases and operational safety.

dropbox.tech

A consistent metadata cache designed to make cache invalidation safe rather than merely fast.

medium.com

Why PayPal built a key-value store and the replication and consistency decisions behind it.

System Design

assets.amazon.science

In-depth technical paper on Amazon DynamoDB, a fully managed NoSQL database service.

snehasishroy.com

In-depth exploration of the Kafka communication protocol, including its architecture and design principles.

aws.amazon.com

AWS's mathematical approach to isolating tenants and reducing correlated failure blast radius.

sre.google

A rigorous guide to retry storms, overload feedback loops, and the limits that stop them.