Compact Data Structures for Network Telemetry
Shir Landau Feibish, Zaoxing Liu, Jennifer Rexford
TL;DR
This survey examines how high-speed, programmable network devices enable in-network telemetry using compact data structures. It discusses the constraints of data-plane memory and per-packet processing, and how sketches and caches are adapted (and sometimes newly designed) to perform diverse telemetry tasks—from heavy hitters and distinct counting to entropy and multi-metric analyses—without exporting massive data. The paper covers data-plane resource allocation, distributed telemetry across paths and switches, and security considerations, highlighting open challenges and promising directions for future work. By bridging theory and practice, it emphasizes how compact data structures can empower real-time network management, security, and reliability directly in the data plane. The discussion points toward richer, auto-adaptive telemetry systems that can react to network conditions with minimal controller overhead.
Abstract
Collecting and analyzing of network traffic data (network telemetry) plays a critical role in managing modern networks. Network administrators analyze their traffic to troubleshoot performance and reliability problems, and to detect and block cyberattacks. However, conventional traffic-measurement techniques offer limited visibility into network conditions and rely on offline analysis. Fortunately, network devices -- such as switches and network interface cards -- are increasingly programmable at the packet level, enabling flexible analysis of the traffic in place, as the packets fly by. However, to operate at high speed, these devices have limited memory and computational resources, leading to trade-offs between accuracy and overhead. In response, an exciting research area emerged, bringing ideas from compact data structures and streaming algorithms to bear on important networking telemetry applications and the unique characteristics of high-speed network devices. In this paper, we review the research on compact data structures for network telemetry and discuss promising directions for future research.
