Загрузка видео...

Не удалось загрузить видео

На главную

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

147,533 просмотров • 8 месяцев назад •via X (Twitter)

Комментарии: 45

Фото профиля Anni Wang
Anni Wang8 месяцев назад

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
Anni Wang8 месяцев назад

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
Anni Wang8 месяцев назад

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
Anni Wang8 месяцев назад

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
Anni Wang8 месяцев назад

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
Anni Wang8 месяцев назад

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
Anni Wang8 месяцев назад

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

Фото профиля Zaher 🇸🇾 🇵🇸
Zaher 🇸🇾 🇵🇸8 месяцев назад

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

Фото профиля Pils10
Pils108 месяцев назад

Should it be worse with it compared to without?

Фото профиля Zaid
Zaid8 месяцев назад

Happy R2 customer here :)

Фото профиля Joshua Poddoku
Joshua Poddoku8 месяцев назад

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
vik8 месяцев назад

@irvinebroque amazing

Фото профиля Nir Galon
Nir Galon8 месяцев назад

Is the globe built with @threejs ?

Фото профиля Rory Bernier
Rory Bernier8 месяцев назад

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

Фото профиля James Ross
James Ross8 месяцев назад

this is an awesome ship. congrats

Фото профиля Luis Catacora
Luis Catacora8 месяцев назад

this looks so cool! inspired by @Jilles ?

Фото профиля A
A8 месяцев назад

cant stop loving cloudflare

Фото профиля Rehan
Rehan8 месяцев назад

Oh it's cool

Фото профиля Tony Kim
Tony Kim8 месяцев назад

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

Фото профиля Eason Chai
Eason Chai8 месяцев назад

such a good visualisation tho!

Фото профиля Devarshi Shimpi
Devarshi Shimpi8 месяцев назад

It’s basically like caching files? Amazing!

Фото профиля The Fishcake🇯🇵🌸
The Fishcake🇯🇵🌸8 месяцев назад

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

Фото профиля Suraj Mandal
Suraj Mandal8 месяцев назад

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

Фото профиля Anni Wang
Anni Wang8 месяцев назад

oh no, what are you seeing with the Captcha?

Фото профиля Suraj Mandal
Suraj Mandal8 месяцев назад

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
Pavan Kumar8 месяцев назад

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

Фото профиля Francisco Hermida PRO
Francisco Hermida PRO8 месяцев назад

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

Фото профиля Pranjal Soni
Pranjal Soni8 месяцев назад

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
Ali Ihsan Nergiz8 месяцев назад

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

Фото профиля Devesh Paliwal
Devesh Paliwal8 месяцев назад

that map is slick

Фото профиля Giuliano
Giuliano8 месяцев назад

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

Фото профиля MING
MING8 месяцев назад

Wonderful 😍

Фото профиля Zairig Imad
Zairig Imad8 месяцев назад

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
pedro costa — oss/acc8 месяцев назад

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

Фото профиля Anni Wang
Anni Wang8 месяцев назад

Yes!

Фото профиля pedro costa — oss/acc
pedro costa — oss/acc8 месяцев назад

thanks!

Фото профиля EJ Campbell
EJ Campbell8 месяцев назад

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
Bruce Astor8 месяцев назад

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
Daksh8 месяцев назад

@CloudflareDev Looks good Anni 👍

Фото профиля Saquib
Saquib8 месяцев назад

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

Фото профиля Hamza Imran
Hamza Imran8 месяцев назад

Geo replication for R2 when?

Фото профиля Maximin
Maximin8 месяцев назад

Amazing job

Фото профиля anand mekala
anand mekala8 месяцев назад

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

Фото профиля K.C. Sheffield
K.C. Sheffield8 месяцев назад

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

Фото профиля Uncle J
Uncle J8 месяцев назад

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.

Похожие видео