R2 slower than S3


We have been testing R2 storage vs S3 for storing our images. These storage buckets are in turn using Cloudflare CDN for loading these images via custom URL.

On our testing for the first load, when the cache misses the CDN and fetches the image via R2 and S3, we saw that R2 performance is slower. In terms of numbers, majority of the images are taking double the time to load via R2 compared to S3.

However, once cached, the images load at equal spee via Cloudflare CDN.

Is there something we are missing because R2 claims to be faster than S3? We were planning to move to R2 but the first time loading speed is very slow and can cause a major issue.

1 Like