Incident drill · Advanced
What is happening
Alert: loyalty API p95 above 3 s and errors at 20% on double-points day.
Every sale adds points to the member’s row, and every till asks for the balance before and after the sale. All of it goes to one database primary, which is at 100% CPU.
Fix it for the rest of the day: the points must still be written to the primary.
Checking your account…