-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofenhancementfeature: davfeature: filesystemhotspot: file transfer performanceupload & download performance related optimizationsupload & download performance related optimizations
Description
Long running file operations like copy or move requests are very prone to timeouts, which means that there might be an inconsistent state if a request gets aborted due to a webserver or php timeout.
Opening this ticket to keep track of further ideas to optimize that in terms that the heavy lifting could be done asynchronously in some background process. Not meant as a concrete implementation suggestion yet.
Some ideas:
- The actual request puts the operation into a queue
- Find a way to handle the pending state in the response
- Allow checking for the progress/state of the operation
- Maybe have some kind of pending virtual file in the tree (especially for MOVE)
Possible process for a upload:
- Do the chunked upload as before
- The move request just schedules a task in the queue to assemble the file
- As long as the assembly is pending we have a somehow hidden pending file entry
- Clients can check the state on the pending file
- The worker queue will build the final file and move it to the location and remove the pending file
aparatext, ynott, HannesJo0139, joshtrichards, devnoname120 and 3 more
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofenhancementfeature: davfeature: filesystemhotspot: file transfer performanceupload & download performance related optimizationsupload & download performance related optimizations