Comments (1)
For verify whether traffic update is successful for each iteration,
-
Idea 1: test it by something like heartbeat(request)
We may not easy to test it by heartbeat since the traffic data will be customizing into OSRM files. We don't have switch to enable/disable traffic afterosrm-routed
load data into memory. The only way to do it is send a lot of requests against both old and new container to see whether some of them are different. Obviously it's too inefficiency if we do it for each iteration. -
Idea 2: refer to #22, there're some logs by
osrm-customize
will show totally how many new traffics we have(6727490values
) and how many new traffics theosrm-customize
used(Used 0 speeds
):
[info] Loaded /Users/xunliu/Desktop/data/us_nv/traffic.csv with 6727490values
...
[info] Used 0 speeds from /Users/xunliu/Desktop/data/us_nv/traffic.csv
- Proposal Solutions for Idea 2
- I think we can add a
threshold
to tellosrm-customize
to stop if theused / total <= threshold
. E.g.used / total <= 80%
, then theosrm-customize
will exit and return fail. Thethreshold
can be added toosrm-customize
as a command line flag, so that we can adjust easily to suitable for different data/traffic set. (MY PREFER) - Another way is to realtime analyze log of
osrm-customize
, stop it once find theused / total
too small. The advantage is we don't need to modify codes ofosrm-customize
.
- I think we can add a
from osrm-backend.
Related Issues (20)
- Allowing u-turns in two way segments HOT 6
- Turn restriction ignored HOT 2
- Multi-metric or dynamic weight calculation support HOT 2
- ETA pipeline task collector
- Upgrade osrm-backend-dev env
- Isochrone service HOT 1
- Merge project-osrm/osrm-backend v5.23 release changes
- Support run unit test, cucumber test, code format in osrm-backend-dev HOT 5
- Upgrade base image to osrm-backend-dev:v2
- Enable cpp code format
- Build error on mac OS due to Apple Clang 12 HOT 1
- Filter osm invalid ways
- Unmatched speed unit between traffic flow(m/s) and OSRM traffic injection(km/h)
- Multi-metric prototype HOT 9
- Node Based Graph Representation vs. Edge Based Graph Representation HOT 3
- github-actions-deprecating-set-env-and-add-path-commands HOT 1
- Upgrade osrm-backend-dev - debian:buster HOT 1
- Merge project-osrm/osrm-backend v5.24 release changes
- Merge project-osrm/osrm-backend v5.24 release changes #377 HOT 1
- Upgrade osrm-backend-dev - debian:bullseye
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osrm-backend.