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

Refactor api-gateway router implementation #1075

Open
mschuwalow opened this issue Nov 22, 2024 · 0 comments
Open

Refactor api-gateway router implementation #1075

mschuwalow opened this issue Nov 22, 2024 · 0 comments

Comments

@mschuwalow
Copy link
Contributor

Currently postgres is in the hot path of handling user requests. This will not scale and should be refactored.

A potential idea is to precompile a regex using regex-automata whenever the deployments for a particular host change and store that in the blob storage.
Whenever the gateway handles a user requests this precompiled regex could be fetched from the blob storage and used to identify which of the routes for a particular host matches the request.

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

No branches or pull requests

1 participant