Hey all. I want to upload large files from the clients file system to R2 through my worker. I am using node:fs to read the file. The client has access to the file system. I understand workers have memory limits that makes this flow slightly complex. By large files im talking about 5GB , 10GB, or even more.
How should I approach this? I have considered streaming directly from the source to my worker. I have also considered sending multi-part/formdata with the array buffer. Would this be a case for MPU, or can I upload large files in one request without having to worry about the memory limit? Any insight would greatly be appreciated