Upload files in chunks #22311
joselcvarela
started this conversation in
Feature Requests
Replies: 1 comment
-
Supporting TUS feels like the way to go here 👍🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Currently, the way of uploading files is all or nothing.
In other words, we need to keep connection active otherwise upload will fail.
The same happens for any VPNs, CDNs or any other servers in the middle.
Also, some servers in the middle have a maximum timeout to receive a response from origin.
While doing uploads for big files, this timeout will be reached as the upload may take more than 5 minutes to accomplish
Basic Example
No response
Motivation
We pretend to have this in order to be able to upload big files for use cases like video streaming, digital signage, games content, etc.
Detailed Design
I am not sure what kind of implementation we should follow, but in another issue it was mentioned the tus protocol.
So we might implement a solution based in this protocol.
Requirements List
Must Have:
Should Have:
Could Have:
Won't Have:
Drawbacks
This is a whole new feature that needs to be made that includes App and Api, so it will take more than 1 month to be made.
Alternatives
The current alternative is to inject the asset directly into the storage and create the respective entry on
directus_files
Adoption Strategy
No breaking changes are expected
Unresolved Questions
What protocol will be used? tus? resumable.js? other?
Beta Was this translation helpful? Give feedback.
All reactions