Design Fleet-Wide Streaming Telemetry Collection for Switches

Last updated: November 29, 2026

Quick Overview

Design a system like CloudVision's telemetry backend that continuously streams state changes (interface counters, routes, LLDP neighbors, environment sensors) from tens of thousands of switches, stores current state and history, and serves live dashboards and historical queries.

Arista Networks
System Design
Software Engineer
Arista Networks
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design a system like CloudVision's telemetry backend that continuously streams state changes (interface counters, routes, LLDP neighbors, environment sensors) from tens of thousands of switches, stores current state and history, and serves live dashboards and historical queries.

CloudVision streams every switch's state into a central store so operators can see the network as it is now and as it was at any past time. Senior and CloudVision backend candidates are expected to reason about ingest volume, state versus time-series data, backpressure, and replaying history.

What the Interviewer Expects
  • Estimate ingest rate and storage from fleet size and update rates
  • Stream deltas over long-lived gRPC/gNMI connections instead of polling
  • Separate current-state store from time-series history
  • Handle reconnects with a resync of full state
  • Support time-travel queries (state at time T)
  • Apply backpressure and coalescing for bursty sources
Key Topics to Cover
streaming telemetry
gNMI
time-series storage
sharding
backpressure
snapshots
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you answer 'what did the routing table on leaf 42 look like at 03:15 yesterday' efficiently?
  • How would you shard by device and still support network-wide queries like 'all interfaces with errors'?
  • What happens during a BGP reconvergence that produces millions of route updates in seconds?
  • How would you run this both on-prem with three nodes and as multi-tenant SaaS?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: per-device streaming of state paths, live current-state views, history with time-travel, alerting on conditions. Scale: 20k devices, about 2k counter paths each updated every 2 s plus burs...

High-Level Design

On each switch, a streaming agent subscribes to the local state database and sends deltas over a gRPC stream (gNMI subscribe or a custom protocol). An ingest tier terminates connections, sharded by de...


Submit Your Answer
Markdown supported

Related Questions