ProxySQL routing, live

TicketDesk is a small help-desk application. It runs all the time on Amazon RDS MySQL: one primary and two read replicas. ProxySQL, managed by ProxySQL SaaS, sits between the application and the databases. It sends writes to the primary and spreads plain reads over the replicas.

Every answer on this page names the database instance that produced it, so you can see each routing decision as it happens.

Ticket queue

The 50 most recent open tickets (real demo data, read-only). Tap a ticket to read it and its comments.

Open a demo ticket

Choose a subject and a priority. There is no free text.

Three steps: the write goes to the primary. A plain read right after it goes to a replica, which may not have the row yet. The same read inside a transaction stays on the primary and always finds it.

Where did my query go?

Your last 20 requests, newest first: the instance, its role and the time the database took.

Live soak

The always-on TicketDesk workload, last 5 minutes. Refreshed every 5 seconds.

Loading…

Visitor reads by instance

Plain reads made by all visitors of this page, last 10 minutes.

No visitor reads yet.

Read this before you draw conclusions