chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

simulation: Revisit trRouting server instances management #414

Open tahini opened 1 year ago

tahini commented 1 year ago

Currently, in simulations, a certain number trRouting instances are started locally on the server machine. Since the host url (unlike the port), is taken from the application's default, this may clash if there is an external trRouting URL configured in the configuration or environment variable.

We should revisit how trRouting instances are managed in simulation, add the possibility that they could be external too and make sure simulations and other workflow use the proper server.

Note that this is not an issue at all if all trRouting instances are run locally.

greenscientist commented 4 months ago

We still need to revisit this, but at least now we only need only threaded TrRouting