MySQL, the ebay Classifieds Way
Best Practices for Businesses
12 November 4:00pm - 4:50pm @ Orchard 2
50 minutes conference
Talk Submission for the Percona Live Conference 2013. The ebay Classifieds Group (eCG) is the part of the ebay Corporation dedicated to the Classified Ads market. We help people find whatever they're looking for in their local communities, from apartments to jobs, from couches to cars. In the process, we churn through amazing amounts of data, most of which is, at least at some point, stored in MySQL Databases. I'm the most experienced Database Administrator servicing the eCG. I am responsible for more than 400 MySQL database servers across 15 business units in 10 different time zones. I also support the 19 Development and 5 Site Operations teams responsible for the development and operations of the systems we build and run in the house. In this session I will share with the audience the issues we face and the solutions we adopted in the subjects of cluster architecture, high-availability, stability, disaster prevention and recovery, and performance monitoring and tuning. I will address the following topics: * What kind of database-related issues and concerns we face at ebay Classifieds Group business units, what motivates us; * How this motivation drives our Master-Slave Cluster Architecture; * How we manage our configuration using Puppet, and a three-tier configuration file; * What kind of hardware we use and how we organise our database files and distribute them across multiple disks for better performance; * How we achieved the reliability and stability we require using Percona Server with XtraDB; * How we deploy and regenerate the databases in production using Percona XtraBackup; * How we manage our master database with Master HA and Netscaler Load Balancers, and how we are able to fail-over to a new master when disaster strikes, even between data-centres. * How we monitor our databases for Performance issues, and what role does pt-query-digest plays on this; * How we are integrating Box/Anemometer with pt-query-digest to help exposing to the developers as much information as possible about problematic queries in production; * How we use pt-table-checksum to locate and prevent replication divergence; * How we keep our data backed up constantly and allow point-in-time recovery using pt-slave-delay, and how we made this work with Master HA using a black-hole slave as binary log proxy; * How we use CollectD, Graphite, and GDash to monitor our databases and produce beautiful and very useful graphs with a lot less effort than other popular alternatives.
Database Administrator, ebay Classifieds Group
Luis has been working with Information Systems since 1999. He worked as a developer, system administrator, and has been dealing with Relational Databases since 2001, when he started as a certified Oracle DBA. Luis is a proud member of the London Perl Mongers since 1999. He is also the author and maintainer of a handful of irrelevant Perl Modules. He worked for RIPE NCC, where he had the opportunity to manage the RIPE Whois Database and maintain the software behind it. Since he joined ebay Classifieds Group in 2010 he has been working exclusively with MySQL databases, servicing ebay Classifieds Group business units in more than 13 countries. When time allows Luis blogs about practical Database Administration in his personal blog, Deaf by Salami, watches "House, MD" and Science Fiction movies, and travels around the world making photos of landscapes and people.