alinmindroc/valhalla_traffic_poc

can realtime traffic be taken into account without restarting the service?

Closed this issue · 2 comments

As indicated in the title, can real-time traffic be taken into account without restarting the service?

It seems in this demo, I have to restart the service to update the traffic, right?

otherwise, does some more heavy work need to be done as explained here to achieve that?

thank you

Hello,

Yes, traffic can be updated without restarting the service. The valhalla_traffic_demo_utils tool that is implemented as part of this repo is the external process which writes directly into the tar from the post that you linked.

In step 6 of the readme there is a mention about restarting the service only the first time before applying traffic. But basically afterwards you can use valhalla_traffic_demo_utils as many times as you want and the traffic will be updated.

wonderful! thank you