-
Notifications
You must be signed in to change notification settings - Fork 9
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
Parallel Serialization #16
Comments
Also, could we replace JSDOM entirely? 🤔 |
Seems like this would help out #141 and would allow us to remove |
Wonder what our options in regard to an actual Could be an alternative to using puppeteer, though full browser rendering is pretty cool as long as we can make this change. |
So looking at this again through the lens of #213 , I notice we're launching a new instance of puppeteer for every page but and then never closing it. It would probably make sense to Maybe a ➕ 1 for #15 and or some sort of benchmarking? |
Type of Change
Summary
Currently the serialization phase runs serially, one page at a time, each page as a
Promise
.It would be good to see what options there are to support running these in parallel so multiple pages could be serialized at once.
Otherwise this happens locally 😬
Details
Something to consider is how to manage the "firehose" of creating and serializing pages. It would probably make sense to support a queue so for very large applications, hundreds and thousands of pages won't get spun up at once and potentially stall / crash the build server or local development workstation.
It should probably be a configurable value from greenwood.config.js.
The text was updated successfully, but these errors were encountered: