Lune

EuroSys2026Top-tier venue

PatternSketch: General and Runtime Reconfigurable Time-series Network Traffic Pattern Detection

Yang Du, Dan Wang, He Huang, Hanwen Zhang, Jianzhi Tang, Fu Xiao, Yu-e Sun

Abstract

Network traffic measurement is indispensable for many network management tasks. Time-series traffic pattern detection extends the benefits of traditional single-period flow measurement by revealing dynamic flow behaviors, but also yields higher complexity. When multiple patterns must be monitored simultaneously, building a separate sketch for each pattern is prohibitive since programmable switches typically allow only one resource-intensive sketch. In this paper, we propose PatternSketch, which enables general and dynamically reconfigurable time-series pattern detection within a single sketch. PatternSketch unifies the detection of diverse patterns with a Pattern Automaton and decomposes the pattern detection process into two phases in the data plane, while allowing operators to reconfigure the active set of monitoring patterns at runtime without taking the switch offline. Our implementation on an Intel Tofino switch demonstrates that PatternSketch can operate at line rate, detecting multiple patterns concurrently while using only tens of kilobytes of SRAM. This significantly reduces both computational and storage resource consumption compared to deploying multiple, pattern-specific sketches. Evaluations on four real-world datasets show that the hardware version of PatternSketch maintains over 90% F1 scores while simultaneously detecting six time-series patterns (three representative and three newly proposed) with as little as 200KB of memory.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. FlyMon: enabling on-the-fly task reconfiguration for network measurementHao Zheng, Chen Tian, Tong Yang, Huiping Lin et al.SIGCOMM 2022 · 52 citations
  2. Sketchovsky: Enabling Ensembles of Sketches on Programmable SwitchesHun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar et al.NSDI 2023 · 44 citations
  3. A Robust Counting Sketch for Data Plane Intrusion DetectionSian Kim, Changhun Jung, RhongHo Jang, David Mohaisen et al.NDSS 2023
  4. Phantom: Virtualizing Switch Register Resources for Accurate Sketch-based Network MeasurementXiang Chen, Hongyan Liu, Zhengyan Zhou, Xi Sun et al.EuroSys 2025 · 4 citations
  5. SketchPipe: Toward Accurate Sketch-based Network Measurement on Multi-Pipeline Switches with Splitless Sketch PlacementXiang Chen, Longlong Zhu, Linying Zheng, Hongyang Du et al.NSDI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines