Atlas is a piece of software that sits between your application and your MySQL database and acts as a traffic manager. MySQL is one of the most widely used databases for web applications, and Atlas is designed to help large-scale deployments handle that database traffic more reliably and efficiently. The project was built and is maintained by the infrastructure team at Qihoo 360, a Chinese technology company, and has been used to handle billions of database requests in their own systems. The main thing Atlas does is separate read and write operations and send them to different database servers. Most applications read data far more often than they write it, so this splitting lets you run multiple copies of a database that handle reads while only one primary server handles writes. Atlas manages distributing those requests automatically. It also handles failover, meaning if one of the database servers goes down, Atlas detects this and stops sending traffic to it without requiring manual intervention. Other features include connection pooling, which reuses existing connections to the database rather than opening a new one for each request, and IP filtering, which restricts which clients can connect. Database administrators can take backend servers in or out of rotation without stopping the service, and the configuration can be reloaded without restarting Atlas. Atlas was built on top of an older project called MySQL-Proxy but rewrote the core network and threading logic in C for better performance, replacing the original Lua-based implementation. The project includes a wiki with installation guides, architecture diagrams, and a frequently asked questions section for common operational scenarios.
← qihoo360 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.