← All games

Saga Compensation Orchestrator

Coordinate durable Saga state, local transactions, compensations, timeouts, and manual recovery.

Concept
Saga workflows and compensating actions
Difficulty
Advanced
Play time
9-13 minutes
Path
Async Workflows

Interactive scenario

Playable game area: Make the next backend decision

Use the controls below. Feedback appears immediately and final scores stay in this browser.

Concept notes

Why this decision matters

Saga Compensation Orchestrator is focused practice for Saga workflows and compensating actions. It explains why each answer is safe, risky, or production-ready.

Guide a distributed workflow through failure without losing its operational truth.

Learning objectives

  • Persist recoverable Saga transitions.
  • Treat compensation as a new business action.
  • Order irreversible effects and escalate failed compensation.

How to play

  1. Follow the order workflow.
  2. Choose the next forward or compensating action.
  3. Preserve truthful durable state through failures.

Scoring

  • Correct orchestration actions add 250 points.
  • Misses enter local review.
  • A perfect run scores 1,000.

Backend concept notes

A Saga coordinates local transactions without pretending they form one global ACID transaction.

Compensation can fail and some effects cannot be reversed.

Common mistakes

  • Keeping orchestration state only in memory.
  • Calling compensation a rollback.
  • Sending irreversible notifications before the pivot.

Review misses from this game

Related Backend Study Lab tools

Use tools from the main site when you want to inspect real inputs.

FAQ

Short answers for how this game fits backend interview and study practice.

Does compensation restore the past exactly?

No. It is a new business action with its own rules and failure modes.

When is manual intervention appropriate?

When automated compensation cannot safely restore a truthful business state.

Leaderboard

Top 10 scores for the current ruleset. No account required.

Loading leaderboard...

    Finish the game to load your latest local score.