Is it better to create a “general help”

S3 upload speeds (slow) I’ve also been waiting for 2 weeks on my CloudFlare tickets. Wait times are insane, even when we’re paying for over $100 (increasing every month) on CloudFlare products per month
8 Replies
Sid
Sid3y ago
What speeds are you getting?
Sam
SamOP3y ago
For example, if I'm uploading the following images in a Promise.all() it's taking about 2 seconds (I'm near Amsterdam, 132km away and 280km from Frankfurt): - PNG Image from 550kb - Webp Image from 48kb - Jpeg Image from 74kb On S3, its a lot faster.
Sid
Sid3y ago
Can you try issuing a GetBucketLocation on your bucket? (Assuming you're already using the S3-compat API)
Sam
SamOP3y ago
{
'$metadata': {
httpStatusCode: 200,
requestId: undefined,
extendedRequestId: undefined,
cfId: undefined,
attempts: 1,
totalRetryDelay: 0
},
LocationConstraint: 'WEUR'
}
{
'$metadata': {
httpStatusCode: 200,
requestId: undefined,
extendedRequestId: undefined,
cfId: undefined,
attempts: 1,
totalRetryDelay: 0
},
LocationConstraint: 'WEUR'
}
Is this getting a location based on where I am? Since 70% of our users are from the US. Want them on US servers of course.
Sid
Sid3y ago
It would definitely be a factor (I sorta assumed you were making requyests from Amsterdam) Still, 2s for 550Kb seems escessive
Sid
Sid3y ago
You could give a US bucket a shot either way (note the caveat with location hints at the moment: https://developers.cloudflare.com/r2/buckets/data-location/#current-limitations)
Data location · Cloudflare R2 docs
Learn how the location of data stored in R2 is determined and about the different available inputs that control the physical location where objects in …
Sam
SamOP3y ago
Yeah but the thing is, I need all locations to be fast. Download speeds are fine, since we have the CDN in front of it. The 30% of Europe users (which are still a lot) should also have access to fast upload times. So Europe should be as fast as the US
Sid
Sid3y ago
If this is the same file, then the cache is your friend in such scenarios

Did you find this page helpful?