MTAtlas: Meituan's Database Middleware Architecture and Practices
The article recaps Meituan‑Dianping’s 10th Tech Salon where senior DBA Ping Zhong detailed the Atlas database middleware, explaining its three‑layer architecture, connection‑string simplification, load balancing, read/write separation, automated slave management, monitoring, sharding capabilities, current 87% deployment across services, and upcoming enhancements such as stronger SQL processing and distributed transaction support.
This article summarizes the 10th Meituan-Dianping Tech Salon on database technology architecture and practice.
The speaker, Ping Zhong, senior DBA, introduced Meituan's database middleware Atlas, covering its overall architecture, core modules, deployment status, and future plans.
Key topics include:
Introduction to Atlas and its advantages such as connection string simplification, load balancing, read/write separation, and automated slave management.
Three‑layer software modules: access control, SQL processing (parsing, rewriting, execution), and DBA‑related functions (read/write split, connection pool).
Connection management improvements with anomaly detection for upstream, downstream, and host links.
Session‑level variables for query consistency.
Connection pool redesign using a hash table keyed by user.
Access control features: SQL blacklist, thread‑based load balancing, IP restrictions, and replica‑level traffic allocation.
Monitoring system that tracks internal Atlas metrics.
Sharding enhancements: database‑and‑table partitioning, MySQL‑compatible syntax, limited JOIN support, transaction handling, and error rollback.
Current deployment: 87% of service groups have adopted Atlas across five version iterations.
Future roadmap: stronger SQL processing, automated fault‑handling monitoring, integration with Meituan's MHA, and distributed transaction support.
For more details, visit the original article or Meituan’s tech blog.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Meituan Technology Team
Over 10,000 engineers powering China’s leading lifestyle services e‑commerce platform. Supporting hundreds of millions of consumers, millions of merchants across 2,000+ industries. This is the public channel for the tech teams behind Meituan, Dianping, Meituan Waimai, Meituan Select, and related services.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
