High Availability Solution for Large Scale Database Systems
summary
Baidu runs MySQL for over 95% of OLTP, serving ~100 billion queries/day across PB-scale data and ~10,000 machines; the HA system is a decentralized agent + config-center design that scales to 5,000+ clusters and tolerates machine/IDC/region failure. Failure detection uses three-layer detection: instance, cluster, global to avoid false positives, and recovery uses a timestamp-based “tinker” to fill binary-log gaps without trusting socket files. Claims: typical data-center recovery in ~5 minutes and MTTR kept under ~15 minutes.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:53Baidu
- 3:25Manual Recovery
- 6:25High Availability Architecture
- 10:55Solution
- 12:46Master Failure Detection
- 14:04Recovery Period
- 14:41Data Consistency
- 16:37Data Gap
- 18:22Timestamp
- 21:08Recovery Time
- 22:24Applications
- 23:38Summary
related talks
42mA Tale of One Billion Time Series
57mNo Downtime, No Limits
03mBuilding Bulletproof Database Platforms
17mHow We Debug 1000s of Databases with AI: Lessons from an AI-Assisted Database...
22mLessons from Automatic Incident Resolution for a Million Databases
54mThe Evolution of a MySQL Database, From a Single Instance to HA With Disaster Recovery
32mHPC Multi-Cluster Database Deployment: Service Level and Availability Driven Refactoring
19mBuild Global-Scale Apps Using Globally Distributed Autonomous Databases
