[GraphHopper] Quota's / flooding the Graphhopper matrix API service (being a good citizen)

Geoffrey De Smet ge0ffrey.spam at gmail.com
Thu Mar 26 11:39:14 UTC 2015


Hi Peter at all,

I am planning to also use graphhopper's matrix API in 
optaplanner-webexamples,
to generate the distance matrix for a number of locations in a VRP.

But I worry about my example flooding your server (which would make me a 
bad citizen).
If I put no restrictions in it, and a user gives me a list n locations, 
I am effectively asking for n² route distances....

For this reason, Google Maps has quota's in place, but those were really 
annoying when I generated the data for this post:
  http://www.optaplanner.org/blog/2015/03/20/3BugsInTheUltimateAmericanRoadTrip.html
because I needed 50 locations, which is almost 2500 routes and they only 
allow 2500 routes per day
(so I had one shot per day to get it right).

Does GraphHopper have quota's in place?
If not, on what maximum number of locations should I restrict?
Note: I don't want to host my own GraphHopper server as part of 
optaplanner-webexamples (because that would mean including 6GB of world 
map data), so I 'd like to reach out to your service.
I do expect users to copy-paste the optaplanner-webexamples, but I 'll 
put in a clear warning that they also shouldn't flood your server (=> 
host their own server etc).
Wdyt?

With kind regards,
Geoffrey De Smet
OptaPlanner lead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150326/4c9cc229/attachment.html>


More information about the GraphHopper mailing list