System Design Atlas

Telecommunications incidents and service restoration

07 / 10Worked example

Critical flow

A fault at the boundary prevents premature closure. Which conditions ensure the outcome?

A fault event and a closure request can arrive concurrently.

Starting point The adapter persists; the worker correlates later.

Assumptions for the example case

Fictitious regional access network. The application correlates events and documents incident resolution; it does not automatically change network configuration. All quantities, thresholds and operational objectives in this design are illustrative assumptions.

Fault event versus closure

Fault event versus closure

A fault at the window endpoint revises premature closure.

Alarm adapter
Alarm log
Incident API
Ticket store
  1. 01 Incident API → Ticket storeValidate 300 s + watermark
  2. 02 Alarm adapter → Alarm logFault at 300,000 ms
  3. 03 Alarm log → Incident APIDelayed proof
  4. 04 Incident API → Ticket storeRevise closure

Result: T-46 returns to active handling; the fault evidence is retained.

A delayed fault from within the observation window revises premature closure.

Fault ingestion and closure validation use the watermark; delayed evidence revises invalid closure.

Commit, response loss and resumption

T-46 version 4 in observation
Closure and a new fault in both commit orders → a fault observed within the window prevents final closure; revise closure and reopen active handling when needed.
A-46 stored
Identical replay, then change kind → one event; the changed replay conflicts.
healthySince=0
Fault at 299,999/300,000/300,001 ms → the first two prevent closure; the last is a new fault after the window and opens a follow-up ticket if the original ticket is already closed.

A fault at the window boundary prevents premature closure.

A fault at the window boundary prevents premature closure.

Check window evidence even after closure.

A fault event and a closure request can arrive concurrently.

Reject closure and keep active handling open. A delayed fault from within the window revises closure; the valid final state is active handling.

Alternative considered
Commit order alone must not override event time.
Trade-off
The revision path remains necessary.
Reassess
More reliable watermarks reduce closure revisions.

Try it yourself

Predict the outcomes for fault-before-closure and closure-before-fault.

A hint for your attempt

A fault event and a closure request can arrive concurrently.

Compare with a possible solution
Error first
Reject closure and keep active handling open.
Closure first
A delayed fault from within the window revises closure; the valid final state is active handling.

Apply to your project

How does this principle apply in your project: a fault at the boundary prevents premature closure?

Step 8: Delays arise at different stages. Which conditions ensure the outcome?