File Uploader - Zip Archive

Im building a service, client browser upload multiple files to worker using multipart upload proxied by CloudFlare workers. since i don't want to handle uploading multiple files, Im creating a container before upload, i tried using bin container, concat blobs and saving the offsets in a durableObject (fast and supported by most browsers), down side is on the download, no problem downloading individual files, but when i want to download multiple files i need to archive them first, i tried archiving on fly, extracting files from bin to zip archive with no compressions, memory is ok but i hit cpu time limits. tried using zip container, client will first have to archive the files before uploading but now the upload takes 30% more time. i need to support 250 GiB files, and download should be available immediately after upload finish. anyone ever faced this use case before? i can do async job as soon as upload finish to archive the files but its complicated and download will not be available immediately after upload.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?