sharedstreets / mobility-metrics

Tools for collecting, processing, and interpreting mobility data using SharedStreets
MIT License
50 stars 17 forks source link

retry with exponential fallback #75

Open morganherlocker opened 5 years ago

morganherlocker commented 5 years ago

We have received reports of cities hitting certain MDS provider feeds that experience intermittent outages or server failures. In some cases the server responds after rerunning backfill a couple times. Let's add a fallback retry that spreads out requests until one succeeds or a max retry limit is hit.