-
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
Reimplement osrm-routed
in NodeJS
#3832
Comments
Grabbing this. |
+1 on this request. |
I started this in #3887 but it got de-prioritized and now no one is working on it. Feel free to pick it up - happy to view pull requests and guide you along. |
#4604 is a later version of this - but is also a bit out of date, and I haven't worked on it in a while. IMO, a more modern approach to this would be to create an OpenAPI schema, and automatically build a server based on that. |
Historical anecdote: |
Hey all, I invite everyone to leave comments for #6411. It won't substitute existing cc @mjjbell if you are not subscribed for this issue :)
Tbh I noticed this your comment only now. What do you think will be benefits of this? |
It's great to explore NodeJS as an osrm-routed replacement. The routed code clearly shows its age. It would be great to learn about any performance impacts of node vs routed for simple http queries. |
Posted some benchmarks in PR. |
Right now we are shipping our own implementation of:
We can get rid of most of the
server/
folder by moving the code to NodeJS which already ships with production quality modules for all of this. After #3768 lands we would not induce a weird cyclic dependency anymore and this becomes feasible.We should be able to replace most of the
boost::spirit
code with https://pegjs.org/.Having this as node-express based tool would also enable us to easily integrate
osrm-text-instructions
and simplify hooking middle ware like authentication services into this.The text was updated successfully, but these errors were encountered: