
10/12/2023 · Pierre-Antoine Mills, Miguel Fernández, Petra Donka
What this post added
This post details Prisma's migration from AWS S3 + CloudFront to Cloudflare R2 for distributing their ORM engines. It highlights the cost savings (98% reduction) and performance parity achieved by leveraging R2's object storage and Cloudflare's global network. The migration strategy involved a gradual DNS rollout with load balancing and health checks to ensure zero downtime. The technical details include the scale of engine downloads (100 million/month, 250TB egress), the comparison of distribution options (GitHub, npm, other CDNs), and the testing methodology used to validate R2's performance.