Multiple simultaneous calculation requests to ORS backend

A quick question. Is it possible to send multiple simultaneous requests to a single ORS backend?

For eg. Can I calculate the matrix for a few points and isochrones for few different points simultaneously and get both outputs from a single docker container? Or ORS needs to process one before it can move to the other?

In that case, I need two different providers (two containers)

I am trying to minimize the calculation time for my script.

Of course. Tomcat will spawn as many subprocesses as it needs or is allowed to. Think of a bigger setup like ours, dozens of people need to be able to request at the exact same time. Just like every single web server. Only this one takes longer to compute than the random web page. Just make sure you provide multiple cores and it’ll be fine.

Right makes sense. Thank you :smile: