BeauCoup: Answering Many Network Traffic Queries, One Memory Update at a Time

Xiaoqi Chen, Shir Landau Feibish, Mark Braverman, Jennifer Rexford

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Network administrators constantly monitor network traffic for congestion and attacks. They need to perform a large number of measurements on the traffic simultaneously, to detect different types of anomalies such as heavy hitters or super-spreaders. Existing techniques often focus on a single statistic (e.g., traffic volume) or traffic attribute (e.g., destination IP). However, performing numerous heterogeneous measurements within the constrained memory architecture of modern network devices poses significant challenges, due to the limited number of memory accesses allowed per packet. We propose BeauCoup, a system based on the coupon collector problem, that supports multiple distinct counting queries simultaneously while making only a small constant number of memory accesses per packet. We implement BeauCoup on PISA commodity programmable switches, satisfying the strict memory size and access constraints while using a moderate portion of other data-plane hardware resources. Evaluations show BeauCoup achieves the same accuracy as other sketch-based or sampling-based solutions using 4x fewer memory access.

Original languageEnglish
Title of host publicationSIGCOMM 2020 - Proceedings of the 2020 Annual Conference of the ACM Special Interest Group on Data Communication on the Applications, Technologies, Architectures, and Protocols for Computer Communication
PublisherAssociation for Computing Machinery
Pages226-239
Number of pages14
ISBN (Electronic)9781450379557
DOIs
StatePublished - 30 Jul 2020
Event2020 Annual Conference of the ACM Special Interest Group on Data Communication on the Applications, Technologies, Architectures, and Protocols for Computer Communication, SIGCOMM 2020 - Virtual, Online, United States
Duration: 10 Aug 202014 Aug 2020

Publication series

NameSIGCOMM 2020 - Proceedings of the 2020 Annual Conference of the ACM Special Interest Group on Data Communication on the Applications, Technologies, Architectures, and Protocols for Computer Communication

Conference

Conference2020 Annual Conference of the ACM Special Interest Group on Data Communication on the Applications, Technologies, Architectures, and Protocols for Computer Communication, SIGCOMM 2020
Country/TerritoryUnited States
CityVirtual, Online
Period10/08/2014/08/20

Bibliographical note

Funding Information:
This research is supported in part by NSF Grant No. CNS-1704077, the NSF Alan T. Waterman Award Grant No. 1933331, a Packard Fellowship in Science and Engineering, the Simons Collaboration on Algorithms and Geometry and The Eric and Wendy Schmidt Fund for Strategic Innovation.

Publisher Copyright:
© 2020 ACM.

Keywords

  • Data Plane
  • Distinct Counting
  • Network Measurement
  • Programmable Switch
  • Sketching
  • Streaming Algorithm

Fingerprint

Dive into the research topics of 'BeauCoup: Answering Many Network Traffic Queries, One Memory Update at a Time'. Together they form a unique fingerprint.

Cite this