I am now making a page for algorithm display. I want users to upload data, wait for the algorithm to run, and view the visualization results on the page. But I encountered the following three problems:
-
Where should my algorithm be implemented?
-
My algorithm takes a long time. Even if I can give feedback to users through the progress bar, users can still close the tab when they lose patience. After the tab is closed, will my algorithm continue to run on the server? If it will continue to run, can I stop it?
-
How do I control the number of users executing the algorithm because my algorithm consumes computing resources very much.
Thank you!