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

Dagster takes too long to start #2707

Open
ravenac95 opened this issue Jan 7, 2025 · 0 comments
Open

Dagster takes too long to start #2707

ravenac95 opened this issue Jan 7, 2025 · 0 comments

Comments

@ravenac95
Copy link
Member

What is it?

This might not be something we can entirely avoid, but dagster takes quite a while to load. This can lead to really slow start times locally (which is frustrating) and also long load times on production that can sometimes cause timeouts.

There's likely some things we can do to potentially precompile the list of assets and load that somewhere like a either our cluster redis and then only recompute that every X interval. This way start up is faster.

We would then need to come up with a way to handle loading from this file and loading the cache once it's been invalidated. We can likely achieve this if all resources use our early_resources_asset_factory and change the internals of it to either run the code or use the cached values. This will complicate things, however, as the early resource loading would then need to be aware of all of the assets' resource dependencies in order to provide the correct resolution to dagster.

@github-project-automation github-project-automation bot moved this to Backlog in OSO Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant