Chunked file upload mechanism
Uploading large (binary) files might become problematic as your connection can be interrupted or if the files pass an edge servers/reverse proxy which has file size limitations and blocks the transfer or processing runs into a timeout your entire upload will fail.
With the chunked file upload mechanism we reduce those risks to a minimum.
The mechanism splits the binary files into a sequence of small parts (chunks) that will be transferred instead of one big file. The chunks will be assembled on the server once they are all uploaded.
The mechanism knows 3 endpoints which must be used to upload chunks:
-
start: Initialize chunk upload session for the binary file. -
upload: Upload a specific chunk -
persist: Finalize the chunked upload (tell the server he can assemble the chunks)