Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

MySQL Remove topic MySQL Clear all 38 posts RSS

2026

How United Airlines streams database changes to Apache Iceberg with Amazon Data Firehose

Case study 24 min +240 XP

United Airlines replicates frequently changing reference data from Aurora MySQL into Apache Iceberg tables on S3 in near-real-time using AWS DMS CDC, Kinesis Data Streams, a Lambda transform and Amazon Data Firehose, which applies inserts, updates and deletes via merge-on-read and commits Iceberg snapshots to the Glue Data Catalog.

Meta Engineering

Migrating Data Ingestion Systems at Meta Scale

Case study 9 min +90 XP

Meta migrated tens of thousands of MySQL-to-warehouse change data capture (CDC) ingestion jobs, together moving several petabytes daily, from customer-owned pipelines to a self-managed warehouse service, and fully retired the legacy system.

2025

2024

Horizontally scaling the Rails backend of Shop app with Vitess

Case study 27 min +270 XP

Shop app outgrew a single MySQL database despite federating tables across databases, so the team moved its Rails backend to Vitess, sharding user-owned tables by user_id into a "users" keyspace and keeping the rest in an unsharded "global" keyspace.

2023

2022

Meta Engineering

FOQS: Making a distributed priority queue disaster-ready

Case study 10 min +100 XP

Meta's FOQS distributed priority queue moved from isolated regional installations on semi-synchronous replicated MySQL to a single global installation, after Hurricane Florence in 2018 exposed manual traffic rebalancing and items stuck on unreachable shards.

2021

Meta Engineering

Power Loss Siren: Making Meta resilient to power loss events

Case study 9 min +90 XP

Power Loss Siren (PLS) is Meta's rack-level power loss detection system: a relay daemon on each top-of-rack switch polls power supply signals and, if AC power isn't restored within 45 seconds, sends a link-local UDP multicast so server-side handlers can act during the remaining ~45 seconds of the rack's 90-second battery runway.

GitHub Engineering

Partitioning GitHub’s relational databases to handle scale

Case study 9 min +90 XP

GitHub split its monolithic `mysql1` MySQL cluster by first virtually partitioning tables into schema domains (declared in YAML) and enforcing boundaries with query and transaction linters, then physically moving domains to new clusters via Vitess vertical sharding or a custom ProxySQL/GTID-based write-cutover script.

Capturing Every Change From Shopify’s Sharded Monolith

Case study 23 min +230 XP

Shopify is replacing Longboat, its query-based change-data capture tool that polls MySQL replicas on an updated_at column, with a log-based CDC platform built on Debezium, Kafka Connect and Kafka that reads the binlog from 100+ MySQL shards.

2018

GitHub Engineering

MySQL High Availability at GitHub

Case study 15 min +150 XP

GitHub replaced VIP- and DNS-based MySQL primary discovery with a decoupled pipeline: orchestrator/raft detects failures and promotes a new primary, each orchestrator node writes the new identity to its local Consul KV store, and consul-template reconfigures GLB/HAProxy writer pools reached via anycast.

The quest for software engineering knowledge.

Look:
Layout: