What is the approach in the design of a web application?

Hello!

What is the approach in the design/pattern in which the realization of such a scenario:
1) is There a web application that performs some long job (report generation, data analysis, and so on).
2) the client requests the execution
3) the Task goes to the queue
4) is Performed
5) the results are published in the ~temporary~ reference and the customer can pick it up there.

Interested in how to perform the last step. What are the approaches, technologies to implement, pitfalls... I Want useful articles, the literature. Can code examples.
September 19th 19 at 00:26
2 answers
September 19th 19 at 00:28
Solution
September 19th 19 at 00:30
> how can I perform the last step

Well, if in php then... for Example, first put on a classic server script to download files which generates temporary links and gives them to the users. Next, make a script that makes a report and puts it in a folder. The file name must be the client ID. Next, put a cron script which makes the scandir every 5 minutes for example. As a new file arrives in the folder it adds it to the database, he is the client ID can send a letter and say "Your report is ready here is the link (temporary) is valid for 1 hour".

Find more questions by tags Designing softwareWeb Development