MPA

From the to-do list: MPA V1.0: post API integration

✔ Optimize batch files uploads

Comments

Pierre henri Seylan on May 28, 2018:

When uploading files in batch (multiple files upload into a single task)
The process is a bit clunky:
  • All files have to be processed before that the uploads starts 
  • The uploaded files remain at 100% until the task is completed 

This task is about investigating the possibility to make this process more granular.
Ideally, we would be able to handle the several uploads sepearetly although being into a single upload task, for example:
  • The process of analyzing/hashing files should be done for each file separately and not in batch 
  • Each files is uploaded when ready and then the upload for this task is completed so that: the file doesn't remain at 100%, the user can  already use the file (tagging etc) 

The sequence would be:
  • Analyze file 1
  • Upload file 1
  • Complete file 1 upload
  • Analyze file 2
  • Upload file 2
  • Complete file 2 upload

and so on....


Let me know if you think this is feasible and if you see potential issues resulting from this approach, such as files registrations, adding to collections etc.

Karim Alabtakh on June 6, 2018:

1- the file can't be used before registration step because server generate new id only in this step.
2- as I remember the upload process is fully changed in new API, so files will be uploaded in one step directly to the server, not three like now (1- Analyze and request amazon url,  2-upload, register files by server).
so there is no sense to do something now with old API 

Karim Alabtakh on March 6, 2019:

done