We use reverse geocoding in the rails web service and encounter quota issues when using Google geocoding with a geokit. We are also introducing a simple-geo service, and I want to track how many requests per minute / hour we make.
Any suggestions for tracking reverse geocoding calls?
Our code would look something like this: would you do it?
- Add a custom log and process in the background daily
- Use a super-fantastic stone that I donβt know about, which makes quotas and rating easy.
- Insert a call into the database and execute the queries there.
Note. I do not need real-time data, I just want to know during the hourly period what our usual and maximum requests are per hour. (and the total number of monthly requests)
def use_simplegeo(lat, lng) SimpleGeo::Client.set_credentials(SIMPLE_GEO_OAUTHTOKEN, SIMPLE_GEO_OAUTHSECRET)
Thanks!
ruby-on-rails reverse-geocoding
Jesse wolgamott
source share