9 releases

0.4.0-rc1 Oct 28, 2024
0.4.0-rc0 Jun 12, 2024
0.3.0 Jan 18, 2024
0.3.0-pre.1 Jun 30, 2022
0.1.0 Jul 8, 2021

#854 in Network programming

Download history 14/week @ 2024-07-27 1/week @ 2024-08-24 2/week @ 2024-08-31 11/week @ 2024-09-21 12/week @ 2024-09-28 273/week @ 2024-10-26 8/week @ 2024-11-02 6/week @ 2024-11-09

287 downloads per month
Used in 2 crates

BSD-3-Clause

7MB
9K SLoC

rotonda-store

In-memory IP prefixes storage and retrieval. Part of the Rotonda modular BGP engine.

A rotonda-store is a data structure that stores both IPv4 and IPv6 prefixes together with arbitrary meta-data in a tree-bitmap[^1]. The tree-bitmap allows for fast querying of IP prefixes and their more- and less-specific prefixes.

This crate provides a data-structure intended for single-threaded use, and a data-structure for multi-threaded use.

[^1]: Read more about the data-structure in this blog post.


lib.rs:

A treebitmap based IP Prefix Store IP prefixes storage and retrieval data structures for IPv4 and IPv6 prefixes. This crate contains structures for both single and multi-threaded contexts, as well as async contexts.

The underlying tree structure is based on the tree bitmap as outlined in this paper.

Part of the Rotonda modular BGP engine. Read more about the data-structure in this blog post.

Dependencies

~5–15MB
~185K SLoC