Kent C. Dodds shares how he replaced a Cloudflare Container-based FFmpeg audio pipeline with Cloudflare Sandboxes, eliminating heartbeat/shutdown coordination plumbing. The new design uses a one-shot sandbox.exec() call directly from the queue worker, keeping R2 credentials in the worker and passing only presigned URLs to the

11m read timeFrom kentcdodds.com
Post cover image
Table of contents
Quick recapThe first sandbox attemptWhat the merged version actually looks likeHow I justified moving this fastHow long this actually took meWhat I still missedThe monorepo wrinkleWhat I'd take away from this

Sort: