Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial version of the trie module #3535

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vladpaiu
Copy link
Member

@vladpaiu vladpaiu commented Dec 3, 2024

Summary
Initial version of the trie module

Details
Add a generic trie module implementation.

The drouting module is trying to do too many things at once. For the use cases where we just need maintain and query and internal trie ( and we do not have any gateways/carriers or routing involved ), the trie module provides a more memory efficient alternative.

Furthermore, due to the drouting complexity, we cannot easily update a rule in place and/or delete a prefix rule. The new trie module exposes new upsert&delete MI commands, thus getting rid of the limitation of having to reload the whole dataset in case minor changes need to be made to the trie.

Solution
New trie module.

Compatibility
Backwards compatible

@vladpaiu vladpaiu added this to the 3.6-dev milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant