<@851844831314706482> switch back to here from DMs...
# general-discussions
d
@Akhilesh switch back to here from DMs about S3 bucket latency. There's a couple solutions: 1. Check the latency of every bucket region from your Worker S3 endpoint. This is what we do. (In our case it makes more sense, since we care about the latency of the Worker S3 endpoint slightly more than the User S3 endpoint. It also allows us to do an upload test first to ensure the endpoint is functional and measure the "real" latency of a
POST
.) 2. Use Cloudflare's load balancer to pick the S3 endpoint with the lowest latency. https://developers.cloudflare.com/load-balancing/ <- this is probably the easiest 3. If you're really insistent on using AWS S3 (IMO not many reasons to ever use AWS S3 over CF R2), I think you can use Route 53 to pick the closest endpoint. And definitely more options, these are just the first three I thought of.