My use case is simple in nature.

I have a platform where users can upload any files up to 20GB.

My current solution is:

  1. Frontend Client asks for a presignedURL which the Backend generates
  return await file.getSignedUrl({
    version: "v4",
    action: "write",
    expires: expiresAt,
    contentType,
  })
  1. Frontend client uses the URL to make a PUT request with the entire file. For big files it can take long time but it eventually goes through if the browser is open.

Now my question is, would it be better to implement XML Multipart Upload https://docs.cloud.google.com/storage/docs/multipart-uploads#storage-upload-object-chunks-nodejs over my current solution? It does seem like a lot of work to implement it so I was wondering if it will be worth it.

0

Your Reply

By clicking “Post Your Reply”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.