Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Today we launched R2 Local Uploads to improve upload performance. Here's how it works 🧵

147,533 görüntüleme • 8 ay önce •via X (Twitter)

45 Yorum

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

In tests, we saw up to 75% reduction in total request duration for cross-region uploads when Local Uploads is enabled for a bucket. Try it here:

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

When you upload to R2, your request hits the R2 Gateway first (runs on Workers, deployed globally). Then the object data travels to the storage infrastructure of your bucket.

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

If your user is in North America uploading to a bucket in Europe, that data has to cross the long distance from the client to the bucket. More distance = more latency, more variability.

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

Local Uploads changes the flow. Instead of writing directly to the bucket's region, R2 writes object data to storage near the user first. Then we replicate it to your bucket in the background. The object is readable immediately.

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

If the user and bucket are already in the same region, R2 skips all this and writes directly. No overhead when you don't need it. Learn more:

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

Want to know if Local Uploads is right for you? Go to your R2 bucket → Metrics → Request Distribution. See where your write requests are coming from.

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

Enable with one commnad: npx wrangler r2 bucket local-uploads enable <BUCKET> Now in open beta, no extra cost.

Zaher 🇸🇾 🇵🇸 profil fotoğrafı
Zaher 🇸🇾 🇵🇸8 ay önce

it looks nice as long as the bucket is not in your region as in my test, with local upload is slower

Pils10 profil fotoğrafı
Pils108 ay önce

Should it be worse with it compared to without?

Zaid profil fotoğrafı
Zaid8 ay önce

Happy R2 customer here :)

Joshua Poddoku profil fotoğrafı
Joshua Poddoku8 ay önce

This is slick and practical, the UI cues plus immediate readability make latency feel like a feature, not a bug. If Local Uploads scales, teams will rethink geo data strategies and push for more region aware UX, lowering frustration for users across regions

vik profil fotoğrafı
vik8 ay önce

@irvinebroque amazing

Nir Galon profil fotoğrafı
Nir Galon8 ay önce

Is the globe built with @threejs ?

Rory Bernier profil fotoğrafı
Rory Bernier8 ay önce

cloudflare dropping features faster than my s3 bills are dropping. wait no that part's still going up

James Ross profil fotoğrafı
James Ross8 ay önce

this is an awesome ship. congrats

Luis Catacora profil fotoğrafı
Luis Catacora8 ay önce

this looks so cool! inspired by @Jilles ?

A profil fotoğrafı
A8 ay önce

cant stop loving cloudflare

Rehan profil fotoğrafı
Rehan8 ay önce

Oh it's cool

Tony Kim profil fotoğrafı
Tony Kim8 ay önce

Really like how this focuses on making the user ux better, less lag for the user the better

Eason Chai profil fotoğrafı
Eason Chai8 ay önce

such a good visualisation tho!

Devarshi Shimpi profil fotoğrafı
Devarshi Shimpi8 ay önce

It’s basically like caching files? Amazing!

The Fishcake🇯🇵🌸 profil fotoğrafı
The Fishcake🇯🇵🌸8 ay önce

Just tried it and WOW! I saw at least 3x faster upload speeds with large files (3-8GiB). Amazing work! Thank you!!! 🙏

Suraj Mandal profil fotoğrafı
Suraj Mandal8 ay önce

Looks great! will test it in my next project. Captcha going out of bounds here irks me a bit tho lol

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

oh no, what are you seeing with the Captcha?

Suraj Mandal profil fotoğrafı
Suraj Mandal8 ay önce

Oh no no!! I just meant the captcha is a bit wider than the other stuff in the sidebar, just a tiny UI nitpick lol

Pavan Kumar profil fotoğrafı
Pavan Kumar8 ay önce

This is awesome, and the demo is really nice too 🔥

Francisco Hermida PRO profil fotoğrafı
Francisco Hermida PRO8 ay önce

Any reason to not have it on by default in all r2 buckets?

Pranjal Soni profil fotoğrafı
Pranjal Soni8 ay önce

today only we launched r2 integration into so people can build apps using ai, powered by r2 storage without much hassle remove supabase storage as our provider

Ali Ihsan Nergiz profil fotoğrafı
Ali Ihsan Nergiz8 ay önce

@kathyyliao I’m here for the animation and love R2

Devesh Paliwal profil fotoğrafı
Devesh Paliwal8 ay önce

that map is slick

Giuliano profil fotoğrafı
Giuliano8 ay önce

This is fire!! 🔥🔥🔥 Any news on the italian fine? 😬

MING profil fotoğrafı
MING8 ay önce

Wonderful 😍

Zairig Imad profil fotoğrafı
Zairig Imad8 ay önce

Hello , there is a mistake in Morocco, it shouldn't be devided in the map! could you please fix it ! thank you

pedro costa — oss/acc profil fotoğrafı
pedro costa — oss/acc8 ay önce

awesome! is there a way to enable it from the dashboard?

Anni Wang profil fotoğrafı
Anni Wang8 ay önce

Yes!

pedro costa — oss/acc profil fotoğrafı
pedro costa — oss/acc8 ay önce

thanks!

EJ Campbell profil fotoğrafı
EJ Campbell8 ay önce

Why is latency between two regions so high? Conceptually you could take the large file and split into a bunch of tiny individual streams and it shouldn’t be magnitudes slower than local, especially given you are in control of the network / protocol between hops.

Bruce Astor profil fotoğrafı
Bruce Astor8 ay önce

Why is this something new? It should have been done this way since forever. Good job though, better late than never. PS- Congrats on having a job that's hard for agents to replace!

Daksh profil fotoğrafı
Daksh8 ay önce

@CloudflareDev Looks good Anni 👍

Saquib profil fotoğrafı
Saquib8 ay önce

I'm saving this post ... will go through it later

Hamza Imran profil fotoğrafı
Hamza Imran8 ay önce

Geo replication for R2 when?

Maximin profil fotoğrafı
Maximin8 ay önce

Amazing job

anand mekala profil fotoğrafı
anand mekala8 ay önce

that's amazing, btw will there be any chances of increasing the 50MB file size limit in the future?

K.C. Sheffield profil fotoğrafı
K.C. Sheffield8 ay önce

The only cloud platform that lets me make money. Keep up the great work cloudflare. Cheers from

Uncle J profil fotoğrafı
Uncle J8 ay önce

Local uploads is one of those features that sounds boring until you realize it eliminates an entire class of latency complaints. The best infrastructure improvements are the ones users never notice — they just stop complaining.

Benzer Videolar