Skip to main content
RETURN TO SELECTED WORK
CASE STUDY // 02Telemetry Simulation & Fault Injection

Synapse Mesh

Interactive regional node topology visualiser with synthetic fault injection and burst simulation.

An interactive distributed-topology visualiser modelling regional nodes across San Francisco, London, Frankfurt, and Tokyo. Lets reviewers inject synthetic node failures, inspect degraded routing states, and test recovery state transitions.

ROLE
Full-Stack & Systems Builder
TIMELINE
2025 — Present
SCOPE
Interactive Web Demo
ACCENT
#38bdf8
Interactive Browser DemoCLIENT SANDBOX
MESH STATE: NOMINAL
SIM RATE: 18,420 MSG/SMODE: SYNTHETIC
CLICK ANY NODE TO TRIGGER SYNTHETIC FAILURE & TEST STATE TRANSITION
CONFIGURATION & SCOPE

Demo Parameters & Baseline

4 Nodes
Simulated Regions
Interactive
Fault Injection
Simulated
Mode
Failover Timing
Target Tests
QUALITY & VERIFICATION

Invariants & Edge Cases Checked

playwright test tests/showcase-synapse.spec.ts
Browser UI runs deterministic synthetic state transitions for demonstration; production failover timings require measuring real node process kills against a live mesh.

System Invariants

Failed nodes deterministically drop load to 0% and display explicit degraded-state alert banners.
Burst simulation button locks during active 2.5s window to prevent overlapping timer races.
Reset action restores all nodes cleanly to healthy baseline state and clears stale alerts.

Edge Cases Covered

Multi-node simultaneous failure keeps mesh state visibly DEGRADED until all nodes recover.
Repeated rapid node toggles preserve per-node identity and alert message accuracy.
Timer cleanup on unmount prevents React state updates after route navigation.
THE CHALLENGE

Problem Statement

Distributed topologies are hard to reason about during incident reviews when health states, rerouting cues, and failure recovery transitions are hidden inside raw text logs.

THE ARCHITECTURE

Design Solution

Built a state-driven SVG mesh visualiser where any regional node can be faulted or restored on click, updating topology state, throughput mode, and alert banners consistently.

ENGINEERING TRADEOFFS

Critical Technical Decisions

DECISION 01

Honest Separation of Simulated vs Measured Telemetry

Interactive browser demos should clearly state what is synthetic rather than presenting unmeasured SLA or millisecond claims.

DECISION 02

Explicit State Transitions for Degraded Topologies

Surfacing clear degraded alerts and disabled packet paths ensures partial outages are never masked visually.

DECISION 03

Idempotent Burst & Reset Controls

Guarding burst actions against double-clicks avoids race conditions in timed state resets.

IMPLEMENTATION DETAILS

Capabilities & Behaviour

Interactive 4-region edge topology map with clickable node failure and recovery toggles.

Explicit DEGRADED vs OPTIMAL mesh state banners when one or more regional nodes fail.

Synthetic traffic burst trigger demonstrating temporary throughput escalation and cooldown reset.

Clean separation between healthy packet flow animations and failed-node link indicators.

Designed as a front-end chaos state sandbox ready to pair with real WebSocket/node kill-tests.

IMPLEMENTED TECHNOLOGIES

Technology Stack

TypeScriptReactSVG TopologyFault Injection UIState Modelling

Explore Source Code & QA Playbook

Inspect repositories on GitHub or review my QA automation and test design approach.