fault tolerance
play

FAULT TOLERANCE WITH PROXYSQL, MRM AND CONSUL ABOUT ME NARCS - PowerPoint PPT Presentation

FAULT TOLERANCE WITH PROXYSQL, MRM AND CONSUL ABOUT ME NARCS PILLAO Systems Engineer letgo.com | edreams.com | palominodb | emagister.com BEHIND THE SCENES 75M Downloads | 200M listings | 3B chats in 2,5 years ! AGENDA


  1. FAULT TOLERANCE WITH PROXYSQL, MRM AND CONSUL

  2. ABOUT ME NARCÍS PILLAO Systems Engineer letgo.com | edreams.com | palominodb | emagister.com

  3. BEHIND THE SCENES 75M Downloads | 200M listings | 3B chats in 2,5 years !

  4. AGENDA • Motivations • Describe the components • Architecture • Demo • Q/A

  5. MOTIVATIONS

  6. MOTIVATIONS • Automatic and repeatable process to reduce downtime when the master goes down • Query digest • Filter unexpected queries as ORM nightmares • Auto scalable design thanks to Consul and Puppet • Choose open source and emerging solutions

  7. DESCRIBING THE COMPONENTS

  8. REPLICATION MANAGER (MRM) • Open source solution (MySQL, Percona and MariaDB) • Manual or automatic failover options • Topology: Master and many slaves (ignore server option) • Multiple MRM nodes managed by arbitrator • ProxySQL integration ( just released ) • GH: https://github.com/signal18/replication-manager

  9. PROXYSQL • Query digest • Query filtering • Query rewrite • Query routing • Maintenance operations • https://github.com/sysown/proxysql

  10. CONSUL • Service discovery tool • Maintenance action feature • Introduce new ProxySQL nodes via its DNS • Monitoring checks

  11. ARCHITECTURE

  12. Replication Manager

  13. ARCHITECTURE

  14. ProxySQL and Consul

  15. ARCHITECTURE

  16. DEMO https://github.com/narcisbcn/fault_tolerant_db

  17. QUESTIONS?

  18. THANK YOU ! Github: narcisbcn Twitter: @narcisbcn

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend