Proteus: A Self-Designing Range Filter

Eric R. Knorr, Baptiste Lemaire, Andrew Lim, Siqiang Luo, Huanchen Zhang +2 more
6/30/2022
39 citations
cs.DBcs.DScs.LG

Official code: Erins-Ransom/Proteus (13 stars, C++, MIT, last commit 2023-02-23).

Abstract

We introduce Proteus, a novel self-designing approximate range filter, which configures itself based on sampled data in order to optimize its false positive rate (FPR) for a given space requirement. Proteus unifies the probabilistic and deterministic design spaces of state-of-the-art range filters to achieve robust performance across a larger variety of use cases.

Show full abstract

At the core of Proteus lies our Contextual Prefix FPR (CPFPR) model - a formal framework for the FPR of prefix-based filters across their design spaces. We empirically demonstrate the accuracy of our model and Proteus' ability to optimize over both synthetic workloads and real-world datasets. We further evaluate Proteus in RocksDB and show that it is able to improve end-to-end performance by as much as 5.3x over more brittle state-of-the-art methods such as SuRF and Rosetta. Our experiments also indicate that the cost of modeling is not significant compared to the end-to-end performance gains and that Proteus is robust to workload shifts.

View on arXivView PDF

Code Implementations(1)

MIT

This is the code for our self-designing range filter as described in our SIGMOD'22 paper of the same name.

132C++, JavaOct 6, 20223 years agoMIT

Similar Papers

Cite this paper

@article{knorr2022proteus,
  title  = {Proteus: A Self-Designing Range Filter},
  author = {Eric R. Knorr and Baptiste Lemaire and Andrew Lim and Siqiang Luo and Huanchen Zhang and Stratos Idreos and Michael Mitzenmacher},
  year   = {2022},
  eprint = {2207.01503},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.01503}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.01503.svg)](https://codeofpaper.com/paper/2207.01503)

Discussion