Kent C. Dodds shares how a long podcast episode caused his Fly.io primary server to hit 400-500% CPU load, forcing him to offload FFmpeg processing to Cloudflare Queues and Containers. The new architecture enqueues a job from the app, a Cloudflare Worker forwards it to a Container that runs FFmpeg, uploads results to R2, and
Table of contents
The publish that finally broke thingsIn defense of the original designWhy the primary machine was the worst place for thisThe new architectureThe before/after comparisonWhat this costWhat I missed on the first passWas it worth it?1 Comment
Sort: