Benchmarking S3 alternatives: how cheap VMs compare to S3 on EC2
The author benchmarked storage from Backblaze B2, DigitalOcean Spaces and Cloudflare R2 against Amazon S3, using cheap virtual machines from several hosts, including Contabo. Each provider had a bucket in US East and one in US West, and one VM per host was set up in US East. The tests uploaded and downloaded files of 100 KB, 1 MB, 10 MB and 100 MB, with 10 samples per operation. Uploads used multipart upload[1] and downloads used HTTP range requests[2] at different concurrency levels. Round-trip time (RTT)[3] was measured with HeadBucket requests, because some providers blocked ICMP ping.
Amazon S3 was the most consistent, with a very small standard deviation. R2 East had the highest latency among the East buckets and the lowest throughput. In the East tests, Backblaze and DigitalOcean beat S3 on throughput in their own data centers. Contabo's bandwidth was capped at 200 Mbps. Cloudflare performed poorly in the East-East tests but well in the East-West tests.
The author had three hypotheses: cheaper hosts would have less consistent throughput, throughput would depend on distance to the provider, and larger files would give higher throughput. The first hypothesis was supported by the results, and the R2 East result supported the distance hypothesis. The AWS test machine (c6a.large) cost $55.84 per month plus $1.60 per month for storage. The Contabo VPS cost $7.51 per month after a 12-month commitment.
Read the original blog.gonzobea.nzDiscussion
Sources
-
blog.gonzobea.nz
Benchmarking S3 alternatives: How do cheap VMs compare to S3 on EC2



