Poster: Maintaining Sets with Deletions in the Data Plane

Jonathan Diamant, Shir Landau Feibish

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

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 languageEnglish
Title of host publicationEuroP4 2023 - Proceedings of the 6th International Workshop on P4 in Europe
PublisherAssociation for Computing Machinery, Inc
Pages57-60
Number of pages4
ISBN (Electronic)9798400704468
DOIs
StatePublished - 8 Dec 2023
Event6th International Workshop on P4 in Europe, EuroP4 2023, co-located with ACM CoNEXT 2023 - Paris, France
Duration: 8 Dec 2023 → …

Publication series

NameEuroP4 2023 - Proceedings of the 6th International Workshop on P4 in Europe

Conference

Conference6th International Workshop on P4 in Europe, EuroP4 2023, co-located with ACM CoNEXT 2023
Country/TerritoryFrance
CityParis
Period8/12/23 → …

Bibliographical note

Publisher Copyright:
© 2023 ACM.

Keywords

  • network monitoring
  • programmable networks

Fingerprint

Dive into the research topics of 'Poster: Maintaining Sets with Deletions in the Data Plane'. Together they form a unique fingerprint.

Cite this