Hi, I wanted to know if I create a worker that uploads a large file (multiple GBs) to R2 and it takes a long time (lets say above 20 minutes), will the worker time out? I understand that there are reasons to think about multi-part here but I just wanted to know the answer to this independently of multipart considerations. Thanks
@Sid | R2 FYI
k
kian
04/25/2023, 5:20 PM
The issue with large single request uploads is that they can't be resumed and don't really have any fault tolerance
kian
04/25/2023, 5:21 PM
If there's a network blip within those 20 minutes, you need to start again from byte 1
kian
04/25/2023, 5:21 PM
It also depends how you plan to get that file to the Worker - if it's with a request, then Workers are bound to your zone's body limit and that's not more than 500MB unless you're on an Enterprise plan
s
Siclude
04/25/2023, 5:22 PM
got it.
Siclude
04/25/2023, 5:22 PM
just trying to figure out what the best way to get a large file to R2 is