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

💡 Cycle schema hydration is too slow #466

Open
rauanmayemir opened this issue Mar 8, 2024 · 0 comments
Open

💡 Cycle schema hydration is too slow #466

rauanmayemir opened this issue Mar 8, 2024 · 0 comments
Assignees
Labels
type:feature New feature.

Comments

@rauanmayemir
Copy link
Contributor

I have an idea!

Currently, spiral/roadrunner app bootstrapping is very slow, it takes a pod at least 1 minute to become ready, part of which is cycle fetching information_schema data and setting up its schema. I wish it were faster.

Upon debug dumping queries, I noticed that the data is not cached in any way, so information_schema is queried over and over again.

If I were to connect to a DB that is far from the app (say, there is a 60-100ms latency), then the app wouldn't be able to boot itself at all in reasonable time frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature.
Projects
Status: Todo
Development

No branches or pull requests

4 participants