Skip to content
Katabench
Try free

Operate the Onsale

Hard About 1 h 30 min Katabench Pro

The provider slows down, no component fails, and the sale still gets worse for 20 minutes. Rebuild the onsale so the next slowdown does not snowball.

The full brief is part of Katabench Pro

Pro opens this kata's brief and its grader. To see how the track works first, try Handle Celebrity Fan-out, which is free with an account.

How it is graded

You build the design on a canvas, and Katabench checks the topology against the challenge's design rules.

System Design Studio →

What it practices

Rate limiting
Bound what one client can consume so everyone else keeps working.
CQRS
Separate read models from the write-side aggregate they are derived from.
Sharding and partitioning
Split data and ownership by key when one node cannot hold or serve it.
Sagas and compensation
Coordinate multi-step work with compensating actions for every completed step.
Leases and ownership
Grant time-bounded ownership of work or a resource, with fencing tokens so a stale owner cannot act.
Observability
Carry traces, metrics and logs across synchronous and asynchronous hops.

Related katas