Hacker News new | ask | show | jobs
by wcedmisten 635 days ago
Now I'm curious, what causes the latency for range requests with R2?
2 comments

I don't have any insight into this other than observing how their storage system works, but here's some scripts I made last year to test:

https://github.com/bdon/cloudflare-r2-latency

Range requests means work and logic. Getting a file requires no logic.

Also, I'm pretty sure range requests are going to be difficult to cache. That implies going to origin every request which is bad.