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

Implement muxing routing cache #851

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Implement muxing routing cache #851

wants to merge 3 commits into from

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Jan 30, 2025

This allows us to have a parsed and in-memory representation of the
routing rule engine. The intent is to reduce calls to the database.

This is more expensive to maintain since we need to refresh the cache on
every operation pertaining to models, endpoints, workspaces, and muxes themselves.

Finally, this implements the interface for matchers; Currently we only have one
"catch all" matcher, but this will change in the future.

Closes #786

Signed-off-by: Juan Antonio Osorio [email protected]

@JAORMX JAORMX force-pushed the mux-routing-cache branch from bc42187 to 76d9bba Compare January 30, 2025 13:20
This allows us to have a parsed and in-memory representation of the
routing rule engine. The intent is to reduce calls to the database.

This is more expensive to maintain since we need to refresh the cache on
every operation pertaining to models, endpoints, workspaces, and muxes themselves.

Signed-off-by: Juan Antonio Osorio <[email protected]>
Signed-off-by: Juan Antonio Osorio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement "catch-all" mux matcher
1 participant