Abstract
Sets are one of the most fundamental data types in Computer Science, and data structures used to maintain sets are used in many algorithms. These structures normally support three basic operations: insertion, look-up (i.e. set-membership query), and deletion. The most common set-membership data structure used in the data plane is the Bloom Filter (BF). While BFs are relatively easy to adapt to the data plane, they offer a limited set-membership functionality as they do not support deletions. If deletions are required, a Counting Bloom Filter (CBF) (which maintains counters instead of bits) may be used. Yet, if a key was inserted multiple times, multiple deletions would be needed to completely remove the key from the structure. We present MEM-D, a fast and lightweight set-membership data structure for the data plane, which supports all three operations: look-up, insertion, and deletion. MEM-D supports the uniqueness property, meaning that a key would be removed with a single deletion operation even if it was inserted multiple times. MEM-D provides a false positive (FP) error rate similar to the rate of the standard BF and additionally may incur a small false negative (FN) error. We have implemented MEM-D on a hardware Tofino target using P4. To the best of our knowledge, MEM-D is the first data structure for set-membership in the data plane, which supports deletion.
Original language | English |
---|---|
Title of host publication | EuroP4 2023 - Proceedings of the 6th International Workshop on P4 in Europe |
Publisher | Association for Computing Machinery, Inc |
Pages | 57-60 |
Number of pages | 4 |
ISBN (Electronic) | 9798400704468 |
DOIs | |
State | Published - 8 Dec 2023 |
Event | 6th International Workshop on P4 in Europe, EuroP4 2023, co-located with ACM CoNEXT 2023 - Paris, France Duration: 8 Dec 2023 → … |
Publication series
Name | EuroP4 2023 - Proceedings of the 6th International Workshop on P4 in Europe |
---|
Conference
Conference | 6th International Workshop on P4 in Europe, EuroP4 2023, co-located with ACM CoNEXT 2023 |
---|---|
Country/Territory | France |
City | Paris |
Period | 8/12/23 → … |
Bibliographical note
Publisher Copyright:© 2023 ACM.
Keywords
- network monitoring
- programmable networks