I have conducted further investigations following this post.
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.
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.
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.