How We reduced our Google Maps API cost
91–100 of 172 posts
Re: How We reduced our Google Maps API cost
#92If you track the vehicles every day and collect the location data, you can easily augment the Open Source Routing Machine to give you traffic accounted estimates.[0] Combined with some Kalman filters you'd get almost perfect estimates when live. Of course, this is for a use case where you have similar routes every day, this allows you to really tune the Kalman filters. 0: https://github.com/Project-OSRM/osrm-backend/…
My understanding is that Google's does real time traffic reporting so well because it's constantly pinging the location of android devices. There have been several write ups on how to spoof it, but historical data is never going to be a match for a feed like that.
Re: How We reduced our Google Maps API cost
#93This takes accuracy hit for sure, total time of route can be different than the total time of segments. Especially if the route is long.
Re: How We reduced our Google Maps API cost
#94We moved to Stadia Maps with significant cost reduction, but Stadia matched our use case quite well, I can see others need to stick with Google Maps. https://www.eventsofa.de/campus/migrating-away-from-google-m... Shoutout to Stadia Maps CEO who was always very very helpful.
I'm cofounder of Stadia Maps, and I'm happy to field any questions folks may have.
Re: How We reduced our Google Maps API cost
#95For what it's worth, I found OpenStreetMaps and the Open Source Routing Machine to be sufficient for our purposes. If you don't want features like real-time traffic awareness, it's worth investigating the open source tooling. It can save a LOT of money.
I think real time traffic awareness is exactly what the poster wanted, but yeah it seems like people who don’t need that would be better off using OSS where possible.
Re: How We reduced our Google Maps API cost
#96Earlier quoted context omitted.
It sounds like you could use Google's live traffic info to augment your own predictions. You should be fine with just a few API calls. This would be pretty cheap - perhaps even within the free tier.
It would violate the ToS.
I mean, I'm not disputing it, I just hadn't realized we were already there.
Re: How We reduced our Google Maps API cost
#97Well, that's more clever than a company I did due diligence for. Their strategy was to have a pool of API keys attached to new accounts that would take advantage of the Google Maps API free tier, and monitor its usage. As the free tier usage would run out, the system would roll over to a new API key automatically. Wrote that one up in big red marker in my report...
Last time I asked this question [0] on a different story [1], the responses I got were that it definitely is wire fraud, but this is so mind-blowing that I would like to ask again to confirm.
Re: How We reduced our Google Maps API cost
#98Well, that's more clever than a company I did due diligence for. Their strategy was to have a pool of API keys attached to new accounts that would take advantage of the Google Maps API free tier, and monitor its usage. As the free tier usage would run out, the system would roll over to a new API key automatically. Wrote that one up in big red marker in my report...
Genuine question: wouldn't this be considered write fraud? Last time I asked this question [0] on a different story [1], the responses I got were that it definitely is wire fraud, but this is so mind-blowing that I would like to ask again to confirm. [0] https://news.ycombinator.com/item?id=22362682 [1] https://news.ycombinator.com/item?id=22354357
Re: How We reduced our Google Maps API cost
#99Well, that's more clever than a company I did due diligence for. Their strategy was to have a pool of API keys attached to new accounts that would take advantage of the Google Maps API free tier, and monitor its usage. As the free tier usage would run out, the system would roll over to a new API key automatically. Wrote that one up in big red marker in my report...
I worked at a company where they did the same thing, for a different Google API. It didn't work out, and it still baffles me how anyone thought it could.
Re: How We reduced our Google Maps API cost
#100Well, that's more clever than a company I did due diligence for. Their strategy was to have a pool of API keys attached to new accounts that would take advantage of the Google Maps API free tier, and monitor its usage. As the free tier usage would run out, the system would roll over to a new API key automatically. Wrote that one up in big red marker in my report...
It's not clever, it's just much more simpler. Using linear interpolation for the time between 2 stops will have low accuracy because for the particular situation time might not be linear with position and distance. Also traffic incidents might happen. Going with a pool of free keys will be much more dependable, even if somehow more complicated to manage and easier to break.