Running Multiple Graphhopper servers specifically for different regions

So due to the size of files of larger regions, would it make any sense performance wise to run multiple instances of Graphhopper each with a different region’s .pbf file? I’m not too familiar with the devop side of things but would it even be possible to basically have someone access the API and request with a Lat,Lon and determine which region it’s in then use the specific instance of Graphhopper?

It doesn’t sound that feasible but due to the amount of memory required to run the whole planet I was just trying to think of other options to be able to cover the whole planet. A majority of what I would need is just North America for now.

If you do not have enough memory try using

graph.dataaccess: MMAP_STORE

instead of the current default:

graph.dataaccess: RAM_STORE

would it make any sense performance wise to run multiple instances of Graphhopper each with a different region’s .pbf file?

It might be slightly faster but IMO not worth the effort and especially not saving any memory

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.