Design a Network Switch Telemetry / Packet Counter System

Problem

Design a system to collect and aggregate per-port packet and error counters from a fleet of network switches.

Requirements

Functional:

  • Poll/stream counters from thousands of switches
  • Aggregate and detect anomalies (errors, drops)
  • Historical trends per port
  • Alert on threshold breaches

Non-functional:

  • Thousands of devices, high counter cardinality
  • Near-real-time aggregation
  • Long retention

Discussion points

  1. Streaming telemetry (gNMI/Kafka) vs SNMP polling
  2. High-cardinality time-series storage
  3. Rollups and downsampling
  4. Anomaly detection and alerting
  5. Scaling the collector tier
added …
LeaderboardSalaryAccount