I want to purchase the commercial API service of graphhopper but I am worried that the long distance will affect the service’s time performance. Should I be concerned about this?
Take a look here: Privacy - GraphHopper Directions API
We process the API requests on our servers from Hetzner hosted in Germany
If you are worried about the service response time, it is probably best to subscribe for a free package and try it yourself. See here: Pricing - GraphHopper Directions API
Thank you very much for your reply. I know that many companies are using your products, and I want to know if they have the same problem (for example, whether there is a service response time problem when requesting the German API from the United States). In addition, do you have any restrictions on use in certain countries or regions?
Could you tell me what the average response time is for the request API when accessed from Germany and the United States?
Yes, there will be a certain network delay, but especially for the route optimization API this is often neglectable as the calculation itself is already much faster than many other providers.
But for the Routing API it can matter a bit and the added delay is approx 0.5s for the west coast.
I just made a basic and quick test via time curl routing-URL
from the different locations:
Germany 10km route: 0.08-0.09s
Germany 1000km route: 0.12-0.14s
US East 10km route: 0.32-0.35s
US East 1000km route: 0.44-0.46s
US West 10km route: 0.53-0.54s
US West 1000km route: 0.72-0.73s
Note, that this only applies to the shared API but a dedicated setup (with different pricing) at other geographical locations like in the US is possible too.