by bosch_mind · 2y ago · 0 comments
If you’re referring to single pages taking too long and wanting to chunk the processing of a single page, consider cloudflare durable objects as a coordination point for a url.
You can parallelize chunks and track completion in DO. When the last chunk is complete, you can merge. Unlike KV, DO is strongly consistent.
https://github.com/laiso/site2pdf/issues/6
The merge process using only KV has been successful. The real issue lies in the concurrency limits of Browser Rendering API.