English

2FA Sketch: Two-Factor Armor Sketch for Accurate and Efficient Heavy Hitter Detection in Data Streams

Networking and Internet Architecture 2024-08-26 v5

Abstract

Detecting heavy hitters, which are flows exceeding a specified threshold, is crucial for network measurement, but it faces challenges due to increasing throughput and memory constraints. Existing sketch-based solutions, particularly those using Comparative Counter Voting, have limitations in efficiently identifying heavy hitters. This paper introduces the Two-Factor Armor (2FA) Sketch, a novel data structure designed to enhance heavy hitter detection in data streams. 2FA Sketch implements dual-layer protection through an improved Arbitration\mathtt{Arbitration} strategy for in-bucket competition and a cross-bucket conflict Avoidance\mathtt{Avoidance} hashing scheme. By theoretically deriving an optimal λ\lambda parameter and redesigning votenew+vote^+_{new} as a conflict indicator, it optimizes the Comparative Counter Voting strategy. Experimental results show that 2FA Sketch outperforms the standard Elastic Sketch, reducing error rates by 2.5 to 19.7 times and increasing processing speed by 1.03 times.

Keywords

Cite

@article{arxiv.1909.02203,
  title  = {2FA Sketch: Two-Factor Armor Sketch for Accurate and Efficient Heavy Hitter Detection in Data Streams},
  author = {Xilai Liu and Xinyi Zhang and Bingqing Liu and Tao Li and Tong Yang and Gaogang Xie},
  journal= {arXiv preprint arXiv:1909.02203},
  year   = {2024}
}

Comments

12 pages, 7 figures, added new contributions, supplemented experiments, and restructured the entire paper

R2 v1 2026-06-23T11:06:15.123Z