r/sre • • 11h ago

DISCUSSION Deciding what users see when a region fails: a matchmaking example

1 Upvotes

Graceful degradation usually gets one line in a design doc. Here's what it looks like when you actually have to decide, using a game matchmaking service as the example (10M players waiting, clients polling every 3 seconds).

Primary database down in one region

  • Stop accepting new queue joins in that region and say so ("queue paused, retrying shortly") instead of returning errors.
  • Let matches already in progress finish. Don't kill working sessions to make the system look consistent.
  • Don't silently fail over into a neighbouring region if that region is already near capacity. You'll turn one outage into two.

Whole region down

  • Route new joins to the nearest healthy region, with a cap on how much extra load it accepts.
  • Players lose their queue position. Tell them honestly rather than pretending nothing happened.

The outage you cause yourself: retry storms

Every client polling every 3 seconds becomes a retry storm the moment things slow down. Add jittered backoff on the client and return a retry-after hint from the server, so recovery doesn't get flattened by your own traffic.

Hot spots

One popular game in one region can overload a shared tier. Partitioning the queue by game + region (+ skill bracket) keeps a hot key contained, and a hot partition can be split further without touching the rest.

Write the goals down as numbers

"Fast" and "reliable" aren't requirements. Something like "95% of players matched within 30 seconds, and new joins paused rather than failing during a regional outage" is something you can design and alert on.

What do you show users during a partial regional outage: a paused queue, or a cross-region fallback?

(This comes from a workshop Tural Suleymani, a Microsoft MVP, is running on Wednesday, where he works through these failures live on an open-source service)


r/sre • • 7h ago

DISCUSSION what does your security coverage look like over Thanksgiving?

0 Upvotes

Skeleton crew again over Thanksgiving and I am trying to get the on call plan sorted before everyone disappears. we got eSentire and mars in the mix. Leadership seems comfortable with the coverage, but Iam more worried about what happens when someone actually needs to make a decision. Whoever's on call will be fitting it around family stuff, and a few of the people we'd normally escalate to are away.

I want to agree beforehand what can wait, what needs a call, and who can approve taking something offline if the usual person doesn't answer.

Are you doing anything extra before the break, or sticking with the normal rota?


r/sre • • 8h ago

DISCUSSION Why people want AI SRE internally but AI PR reviewer SaaS ?

0 Upvotes

I genuinely feel AI SRE is a complex problem and models improving are able to solve some part of it. It's more horizontal when compared to AI PR Reviewer and has more objectivity in the goal.
But I have seen a pattern people having internal Agents for SRE / Ops but not for the PR review. Any thoughts or experiences in decision making ?