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

Support parallel processing in site/collection generation #228

Open
ronaldtse opened this issue Mar 12, 2021 · 1 comment
Open

Support parallel processing in site/collection generation #228

ronaldtse opened this issue Mar 12, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

When building a site you often want to compile multiple documents together since Metanorma is not parallelised.

This issue is to add a build queue that serves multiple concurrent processors so that a site can be built in minimal time. By default it should use 2 cores and allows more, e.g. metanorma config set build.parallel 4 for 4 processes.

@ronaldtse
Copy link
Contributor Author

In response to @skalee 's comment in metanorma/coradoc#90 , in site processing we deal with multiple independent documents, so there is no issue with parallel processing as there is no shared state.

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