I am building my server side for an app and I am thinking if I should run each query or http request (or any other time consuming process) on a thread (java)?
What will happen if new process will step into the server side (say some request via servlet) and at the same time some time consuming process already running (query or http request)?
I am using java on apache tomcat server (maven).
Thanks!