~/talk

MariaDB Scaling - From Single Instance to Multiple Clusters

Talkat Percona Live 2022 · 2022-05-16..05-18· [databases]
links:none on file
slides:none on file

A concrete path from a single dev instance to a cross‑DC, multi‑cluster HA deployment: deploy a Galera cluster with at least three odd nodes (quorum), front it with ProxySQL and anycast for routing and failover, handle Galera deadlock errors by retrying full application transactions, and shard when a single cluster fills—acknowledging no foreign keys across shards so a shard manager is required and using ClickHouse for cross‑shard aggregation. This setup runs in production across ~40 services.

AI-written summary · about

  1. 0:00Start
  2. 8:23I'm satisfied, let's ship it.
  3. 10:31Hey boss, let's start doing it properly...
  4. 13:13Master-slave replication
  5. 15:21Cross DC replication - hot-standby
  6. 19:25Cross DC replication - both active
  7. 20:37Galera Cluster
  8. 30:41ProxySQL
  9. 33:38Anycast routing
  10. 35:18Vertical scaling summary
  11. 45:42Sharding
~/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.