Real-Time Backend
Live Dashboards
A Grafana dashboard with 20 panels and 1,000 concurrent users fires 40,000 queries per minute at the metrics database. Without the right architecture, monitoring kills itself.
- **Grafana Cloud** processes over 10B metrics per day; Grafana Labs uses its own product to monitor Grafana Cloud - 'dogfooding' at production scale
- **Datadog** renders dashboards for Netflix, Samsung, and Airbnb simultaneously; its query engine processes 10+ trillion data points per day with <1s p99 latency
- **Cloudflare Radar** is a public live dashboard showing global internet traffic in real time; it aggregates 100M+ DNS queries per second into a visualization with 5-minute windows
- **AWS CloudWatch** serves over 1 trillion API requests per month; live dashboards for Lambda, EC2, and RDS refresh with under 60s of delay
Metrics Streaming
Metrics streaming is continuous real-time delivery of numeric values from a system to a dashboard. Grafana Cloud ingests over 10B metric points per day from teams worldwide. Datadog processes 10+ trillion metrics daily from customers like Samsung, Airbnb, and Peloton. The key difference from classic polling: the data arrives on its own the moment it appears.
Push vs pull is the fundamental architecture choice. Prometheus uses pull: the server scrapes a /metrics endpoint every 15s. That simplifies service discovery but adds at least 15s of latency. Grafana Live (SSE/WebSocket) and InfluxDB's push model deliver under 1s. Operational dashboards ('what is happening right now') need push; capacity planning is fine with pull at 1-minute granularity.
- **SSE (Server-Sent Events)**: one-way push, automatic reconnect, HTTP/2 multiplexing - ideal for dashboards