Cascadiq

Real-Time Dashboard Backend

project · Level 3 · 50 min

Description

Design the backend for a real-time dashboard: metrics (e.g. CPU, requests/min) streamed to clients. Discuss push vs pull, scaling, and backpressure.

Requirements

  • Ingest metric events
  • Expose a way for clients to subscribe to live updates (WebSocket or SSE)
  • Optional: aggregate (e.g. 1-min windows)

Constraints

Pseudocode or minimal implementation. Focus on architecture.

Deliverables

Data flow diagram and key interfaces.

Tags

Real-TimeSystem DesignObservability