~/talk

ProxySQL at Scale

Talkat Percona Live 2022 · 2022-05-16..05-18· [databases, devops-and-delivery]
slides:none on file

Pinterest runs ProxySQL pools for 100+ backend types and 400+ EC2 instances and automates provisioning with Terraform modules, Puppet for bootstrapping, and Python proxy manager. The system uses NLB + autoscaling groups, EFS for persistent logs, TCP health checks on 3306, and a terraform-driven zero‑downtime blue/green ASG migration pattern plus occasional AWS instance refresh. Tests run by spinning real infra via pytest and a terraform-ci library, exercising apply/validate/destroy to catch drift and verify no traffic errors.

AI-written summary · about

  1. 0:00Intro
  2. 0:34Challenges
  3. 6:32Three level provisioning
  4. 8:56Guiding principles
  5. 13:23ProxySQL Unit
  6. 17:42Example: Terraform
  7. 22:23What module creates
  8. 24:07Healthchecks
  9. 34:23Zero downtime migration: Step 1
  10. 38:14Zero downtime migrations: How to test
  11. 39:26Testing a module: terraform-ci
  12. 43:38Bootstrapping instance
  13. 47:34Puppet: what to run?!
  14. 47:51Example: Puppet
  15. 48:56Bootstrap ProxySQL configuration
  16. 49:24ProxySQL Manager logs
  17. 51:02Arch & Workflow (GitOps)
  18. 51:39Data model
  19. 51:56ProxySQL configuration constraints
  20. 52:36Source of Truth(s)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.