How workers count CPU time & R2 limits

I plan to spin a cloud hosting, with workers receiving / sending data. But: - is CPU time consumed continuously while data is being transferred (R2<>worker<>CLIENT), - how to avoid the 100mb upload limit, imposed by CF? if using worker+R2
1 Reply
Chaika
Chaika4w ago
is CPU time consumed continuously while data is being transferred (R2<>worker<>CLIENT),
As long as you don't do something silly, no. Return the body readablestream from the object in a response. If uploading, pass up the request body readablestream.
how to avoid the 100mb upload limit, imposed by CF? if using worker+R2
Either use multipart url and smaller parts, or return a presigned url for uploading which gets you 5 GB before you have to multipart (which you could also return presigned urls for from a worker)
Want results from more Discord servers?
Add your server