Forums

Using threads in the background of my web app

Hi, im developing a web app that requires up to 6 strings (inputs from the user), and then process each string in a thread (web scraping urls related to the string, text cleaning with trained AI, and so on...*HUGE PROCESS). This means that the user can have up to 6 active threads.

My questions is the following:

if each user can have up to 6 active threads at once, how can this affect the performance of the web app if thousands of concurrent users, all doing the same.

Hope i explained myself well :) , if not, feel free to ask.

Unfortunately threads would not work in a web app yet. As a workaround you could delegate the heavy processing outside of the web app, see this help page.