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

Enable running multiple notebooks in parallel #36

Open
fonsp opened this issue Nov 27, 2021 · 2 comments
Open

Enable running multiple notebooks in parallel #36

fonsp opened this issue Nov 27, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@fonsp
Copy link
Member

fonsp commented Nov 27, 2021

This was not enabled initially because Pkg is not thread-safe, and many notebooks included a "Pkg cell" that sets up the environment. Running mulitple notebooks in parallel was known to crash Pkg sometimes.

Nowadays, Pluto has a built-in package manager, and this built-in package manager is thread-safe (Pluto has a global Pkg lock). This means that we can safely run multiple notebooks in parallel (if they all use the built-in package manager).

We should add this feature, with a configuration Export_max_parallel_notebooks (default to 4).

@fonsp
Copy link
Member Author

fonsp commented Sep 22, 2022

I implemented this in the secret WIP PlutoPages.jl... more info later!

@theogf
Copy link
Contributor

theogf commented Jun 7, 2023

Is there any update on this :) ?

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

No branches or pull requests

2 participants