UofS-Pulse-Binfo / rawphenotypes

A Tripal module for storing raw phenotypic data. Specifically meant to help researchers contribute raw data, visualize summaries and download for further analysis.
2 stars 2 forks source link

Upload/Backup Validation: long process for in page load. #14

Closed laceysanderson closed 6 years ago

laceysanderson commented 7 years ago

See c46f04b88ba088d27d473651a558ffda59f2a919.

There is a concern with the the increase of max execution time needed for validation of long files. This causes there to be a long ajax upload spinner with no progress reported to the user. Furthermore since it is dependant upon the size of the file, at some point the files will likely reach a size to break this.

One option is to move it into a Tripal Job. This pulls validation out of the page load and allows us to provide progress reporting to the user.

One Concern (@reynold): This step can be subjected to numerous repetition, and steps to Register a job, wait for job queue and execute in tribal job each time might cause unnecessary wait time to user and might not give a relatively quick response as what we currently have.

laceysanderson commented 6 years ago

Closing this until we find it becomes an issue ;-)