5 points · by janpio · 3y ago · 5 comments
Has someone here done this before and can share their experience?
I am specifically interested in the latency aspect. S3+Cloudflare has been excellent there, and I would love to understand if we would take a significant hit by migrating to Cloudflare R2.
[1] https://developers.cloudflare.com/r2/pricing/
[2] https://developers.cloudflare.com/r2/buckets/public-buckets/#custom-domainshttps://www.cdnperf.com there's also this for a point of reference.
I started to test manually with https://tools.bunny.net/http-test and https://www.uptrends.com/tools/cdn-performance-check earlier today, a few times per day executing these with the same file hosted on S3+Cloudfront and R2 (with enabled cache via custom domain) - and the results are all over the place.
Sometimes S3+Cloudfront is a bit faster, sometimes Cloudflare, and sometimes either of them are _really_ slower than the other one as well. I don't see any pattern yet, both in comparing the two but also for which locations are affected and so on.
Which might mean it would be roughly the same on average - but I was hoping someone else could help me go beyond this napkin math by sharing there practical experiences.