Airbnb
Airbnb logoAirbnb · Feature trail

Database Traffic Capture and Replay

1 post · Oct 2026

What this trail covers

This post introduces a new system for capturing and replaying real production database workloads. This system addresses challenges in load testing, de-risking database upgrades and migrations, and performance debugging by providing a client-agnostic capture point using ProxySQL. It includes components for log moving, processing (parsing, grouping, timestamp-based bucketing, query rewriting for auto-increment consistency), and replaying traffic in 'replay only' (load testing) or 'replay and compare' (compatibility testing) modes. The replay system ensures accurate timing and concurrency by using a shared start signal for tasks.

All Airbnb trails