Ok I found some explanations about libosrm here: https://github.com/Project-OSRM/osrm-backend/blob/master/docs/libosrm.md My second questions remains though: is libosrm mandatory for parallel use? or could I use osrm-routed too (even if it is slower)? All my code is written is Python so it could be great if I can integrate python code to do the calls in parallel. Thanks again P.
2018-05-11 13:57 GMT-04:00 Patrick Agin <[email protected]>: > Sorry for the newbie question but what's the difference between > osrm-routed and libosrm? Is it mandatory to use the latter for a parallel > usage? And do you have an example of code that does the calls in parallel > threads? Thanks Sasha for your help. > Patrick > > 2018-05-11 13:50 GMT-04:00 Sasha Khapyorsky <[email protected]>: > >> Hi Patrick, >> >> If you are using libosrm (which reported to be thread safe: >> https://github.com/Project-OSRM/osrm-backend/issues/4966) you can just >> split your list and run its parts in different parallel threads. >> >> Sasha >> >> On Fri, May 11, 2018 at 8:14 PM, Patrick Agin <[email protected]> >> wrote: >> > Hi, >> > I want to call the map matching service for nearly a million of routes. >> I >> > calculated that the task could take 10 hours on my laptop to complete. >> I was >> > wondering if there's someone who faced the same problem and who >> addressed it >> > in parallel, maybe with Spark? Another tool or way? >> > Any hint is greatly appreciated! >> > Patrick >> > >> > _______________________________________________ >> > OSRM-talk mailing list >> > [email protected] >> > https://lists.openstreetmap.org/listinfo/osrm-talk >> > >> >> _______________________________________________ >> OSRM-talk mailing list >> [email protected] >> https://lists.openstreetmap.org/listinfo/osrm-talk >> > >
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
