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

Pre-cache and serialize LIVEBOOK_APPS_DATA_PATH #1749

Closed
josevalim opened this issue Mar 3, 2023 · 1 comment · Fixed by #2115
Closed

Pre-cache and serialize LIVEBOOK_APPS_DATA_PATH #1749

josevalim opened this issue Mar 3, 2023 · 1 comment · Fixed by #2115
Labels
area:backend Related to the backend feature New feature or request
Milestone

Comments

@josevalim
Copy link
Contributor

If you have several apps, running them all at once may exhaust memory.

We also want to support pre-caching. The release process will boot a minimal version of Livebook and run the setup instruction of each notebook to make sure the MIX_INSTALL_DIR is cached. This should optimize boot and also leverage the build steps (which has higher memory) on platforms like Fly.io.

@josevalim
Copy link
Contributor Author

If cache is disabled, we may want to build them serially to avoid race conditions. See #2014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:backend Related to the backend feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant