Re: [OSRM-talk] Nondeterminism in OSRM response

2020-04-07 Thread Rohit Sivakumar
Makes sense. Thanks. On Mon, Apr 6, 2020 at 6:08 PM Daniel Patterson via OSRM-talk < osrm-talk@openstreetmap.org> wrote: > Yeah - osrm-routed uses the SO_REUSEPORT socket option (see > https://lwn.net/Articles/542629/), which means you can run two copies of > osrm-routed, and the operating system

Re: [OSRM-talk] Nondeterminism in OSRM response

2020-04-06 Thread Daniel Patterson via OSRM-talk
Yeah - osrm-routed uses the SO_REUSEPORT socket option (see https://lwn.net/Articles/542629/), which means you can run two copies of osrm-routed, and the operating system will round-robin incoming connections between the two processes. Handy if you want to do lossless handover from one process to a

Re: [OSRM-talk] Nondeterminism in OSRM response

2020-04-06 Thread Rohit Sivakumar
Please ignore the previous email. It appears an older osrm server on my machine had not terminated properly, causing the nondeterminism. On Mon, Apr 6, 2020 at 10:34 AM Rohit Sivakumar wrote: > Hi, > > I've been trying to build a profile for large vehicles on osrm. Since I > couldn't find out-o

[OSRM-talk] Nondeterminism in OSRM response

2020-04-06 Thread Rohit Sivakumar
Hi, I've been trying to build a profile for large vehicles on osrm. Since I couldn't find out-of-the-box solutions to disable all the via-way u-turns using just the vehicle profiles, I wrote a script last week to detect and add u-turn restrictions wherever possible to an .osm file passed as input.