-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demoserver - call for hosting volunteers #5655
Comments
This might be worth cross-posting to a wider audience, such as the main talk list. I also posted a mention in OSMUS Slack. Note that router.project-osrm.org is distinct from router.openstreetmap.de. |
I can host the demo server. Here is an existing one - Germany Car profile:
I have also posted on the OSRM mailing list (https://lists.openstreetmap.org/pipermail/osrm-talk/2020-February/001837.html) |
What are the current host specs? |
If you are asking me, I'm using a 4GB RAM with a 2 vCPU server. I am hosting Germany's Car profile. Since there is very little traffic, I didn't need higher specs for now. |
No, i asked @danpat for server specs, so i'll be able to estimate the expenses. |
Unfortunately, I don't have a great answer to the size question. Currently, the demoserver is running on Mapbox's shared infrastructure, and we've partitioned the data out across several machines (smaller geographic regions), which also serve some of our other traffic, so I can't easily point to one box in our system and say "that's the demoserver". We've simply absorbed it as overhead. If I were contemplating running the service globally, I'd be aiming for:
Here's the daily network traffic for the last couple of weeks to get an idea of bandwidth volumes. The p?? values are response time percentiles, in seconds. This is across all request types (/route, /table, /match, /trips, /nearest):
You also need to factor in the data processing costs - the expense here depends highly on how often you refresh the map. Currently it's done daily. You'd want 256 or more GB of RAM for the fastest |
@danpat It looks more demanding than i expect. I sent you a mail with more private details. |
It's too much for me. Sorry, I had to drop my proposal. |
@danpat We still can do that, but i can't reach you to discuss the details |
Hello, |
Sorry, I've been totally slammed by life and work. Yes, the demoserver is still running, it's not being turned off on our side (yet, no direct timeline for that yet, but it'll happen eventually), but the https:// certificate (if you access it over https) has expired and won't be renewed by Mapbox. A couple of people have offered to host a box to replace it, I need to find time to follow-up with them. |
@danpat I opened the following pull request to fix the demo site for now: Project-OSRM/osrm-frontend#319 |
@danpat A suggestion: How about splitting this country-wise (or region wise) and restructuring on the demo website also to let the user pick a country first? Then things can be divided among volunteers. Or you can just add links on the site to take users to country-specific URLs. I'd like to volunteer to host OSRM for India. I'm using OSRM (our own hosted) heavily in my work and have even customized the profile a bit to have left-side driving and to permit pedestrians on main roads. I have a digitalocean server droplet mapped to my personal domain and have free LetsEncrypt SSL on it . It's working fine since over 2 years. Here's a page I'm hosting that has a backend daily fetching latest OSM data and processing it: https://server.nikhilvj.co.in/OSM/roads.html Additional request : Permit the country-wise volunteers to put a small link to accept contributions towards the server or contact the hoster for professional enquiries. This way if there are heavier users in a particular place, they can get in touch with the hoster, take ownership instead of socializing the burden to the world. (I have a hunch that 80% of your usage load is coming from very few people who have hooked it up to their forever-running programs - if we split by region, majority of places probably won't have much traffic) I know this isn't a fancy full-planet solution, but hey if you have to choose between complete shutdown and decentralizing, why not decentralize. |
@answerquest That is a good idea. But it requires a bit of development on the demo site. Would anyone be willing to do this? I incorporated a drop down for routing.osm.ch and routing.openstreetmap.de but that was already time consuming and too much javascript for me. |
Can we not use https://routing.openstreetmap.de? |
map.project-osrm.org is now switched to the fossgis server as the backend. https://github.com/fossgis-routing-server/osrm-frontend |
Looks like somebody redirected |
It was announced few comments above I suppose? |
@mandeepsandhu The comment only mentioned |
On Mar 09, 2020, the TLS certificate for router.project-osrm.org is going to expire. At the same time, Mapbox is going to shutdown our hosting of that service. As many of you have probably noticed, our investment in the OSRM codebase has greatly decreased over the last year.
This is a call to the community to see if someone else is willing to take up the mantle for running the demo server. If nobody steps up, then the service will stop working on Mar 09, 2020.
Below is a chart that shows the request load for the last two weeks - the value here is "requests per minute".
I have also posted this notice on the
osrm-talk
mailing list for wider discussion.The text was updated successfully, but these errors were encountered: