News for hackers. Stuff that matters.
Re:Show HN: Site2pdf by bosch_mind on Thursday July 18, 2024 @10:50PM (#41001695)
can you elaborate on the execution failures?

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.

Re:Show HN: Site2pdf by laiso on Friday July 19, 2024 @12:35AM (#41002030)
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.