Zum Hauptinhalt springen

Live events feed

Generated from mcp/patterns.registry.json — do not edit by hand; change the registry and run bun run patterns:build.

Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.

Category: Analytics · Tier: light · Risk: low — unauthenticated but self-limited (per-IP rate, connection ceiling, hard timeout)

An unauthenticated, self-limiting SSE stream at /api/analytics/stream pushes live event-style updates for the showcase demo, using synthetic rather than production data.

When to use: Use as a template for a rate-limited public SSE endpoint that streams live-looking activity without exposing real user data.

Docs

Code

Proof


Machine-readable record: analytics-live-feed in mcp/patterns.registry.json.

← Back to Pattern Library

Geht dieses Pattern noch besser? Sag uns, wie.

Feedback geben