lonvia created an issue (openstreetmap/openstreetmap-website#7119)

As with any other free service out there on the internet, the Fossgis OSRM 
servers have been struggling with overuse. As a consequence, we started to 
introduce rate limiting on the servers. Sadly, this interferes with the rather 
cool route-as-you-drag feature on the website. If you drag around a route, you 
end up pretty quickly with a 429 from the servers.

I wanted to open a discussion here what we should do about that. Some possible 
solutions I see:

* Disable route-as-you-drag. This would be the easiest and Valhalla and 
Graphhopper can't do it either. Still, would be somewhat sad to see the feature 
go.
* Reduce number of requests during dragging. If you can reduce it to something 
like 3/s then we can work with a burst on the OSRM server side that allows 
continued dragging for at least 15s. That should be more than sufficient.
* Proxy via the webservers. If the requests come from fixed IPs, we can exclude 
those. That would make things more sluggish though. And possibly overly 
complicated.

What do you think? Other ideas?

CC @datendelphin

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7119
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to