I am working on a project, which allows many users to upload files (csv,xls,xslx,xml), the files should be validated, and if valid, the data is stored in the database.
The files have strict naming convention and it will be validated during upload. The file content could be very long, so it cannot be validated during a request, this task will be pushed to a queue.
I would like to give the users some UI, where they can see their uploaded files. It is a table with a Status column, which is changing like: Uploaded, Validating, Importing to DB, Success, or possible Error after each step.
My questions is how can I monitor the jobs and display their status ?