I have website project that requires this :
The user can prompt the website to launch a python script (basically a trained AI that will operate on some data given by the user).
Unfortunately, the execution time of such a script is a bit long, (approximately 1min30) because it involves scrapping web pages, analyzing them, it's a slow process.
I am not well informed in this specific field and here are my questions :
What happens if a lot of different users prompt at the same time ? What sort of solution would you use in order to avoid this ? Do I need to program a task manager or something like this ?
Is this dangerous ?
Is translating the AI into js and running the script client-side possible ?
Thanks in advance for your input. This is my first post, I'm sorry if this doesn't belong here.