Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 946505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:55:41+00:00 2026-05-15T22:55:41+00:00

We are using reverse-geocoding in a rails webservice, and have run into quota problems

  • 0

We are using reverse-geocoding in a rails webservice, and have run into quota problems when using the Google reverse geocoder through geokit. We are also implementing the simple-geo service, and I want to be able to track how many requests per minute/hour we are making.

Any suggestions for tracking our reverse-geocoding calls?

Our code will look something like the following. Would you do any of these?

  • Add a custom logger and process in the background daily
  • Use a super-fantastic gem that I don’t know about that does quotas and rating easily
  • Insert into database a call and do queries there.

Note: I don’t need the data in real-time, just want to be able to know in an hourly period, what’s our usual and max requests per hour. (and total monthly requests)

def use_simplegeo(lat, lng)
  SimpleGeo::Client.set_credentials(SIMPLE_GEO_OAUTHTOKEN, SIMPLE_GEO_OAUTHSECRET)
  # maybe do logging/tracking here?
  nearby_address = SimpleGeo::Client.get_nearby_address(lat, lng)

  located_location = LocatedLocation.new
  located_location.city = nearby_address[:place_name]
  located_location.county = nearby_address[:county_name]
  located_location.state = nearby_address[:state_code]
  located_location.country = nearby_address[:country]
  return located_location

end

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:55:42+00:00Added an answer on May 15, 2026 at 10:55 pm

    The first part here is not answering the question you are asking but my be helpful if haven’t considered it before.

    Have you looked at not doing your reverse geocoding using your server (i.e. through Geokit) but instead having this done by the client? In other words some Javascript loaded into the user’s browser making Google geocoder API calls on behalf of your service.

    If your application could support this approach than this has a number of advantages:

    • You get around the quota problem because your distributed users each have their own daily quota and don’t consume yours
    • You don’t expend server resources of your own doing this

    If you still would like to log your geocoder queries and you are concerned about the performance impact to your primary application database then you might consider one of the following options:

    1. Just create a separate database (or databases) for logging (which write intensive) and do it synchronously. Could be relational but perhaps MongoDB or Redis might work either
    2. Log to the file system (with a custom logger) and then cron these in batches into structured, queriable storage later. The storage could be external such as on Amazon’s S3 if that works better.
    3. Just write a record into SimpleGeo each time you do a Geocode and add custom meta-data to those records to tie them back to your own model(s)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using reverse geocoding in Google Maps to get an address from a
I am currently using the google maps' reverse geocoding API to convert long/lat received
I am using Google Maps V3 API and using its Geocoder to do reverse
I am using google maps Api V3 and using reverse geocoding to find the
I have set of coordinates saved in array. I am using reverse geocoder The
I am currently working on an application that allows reverse geocoding using silverlight +
I am using the following method to reverse geocode a google maps latlng: [GClientGeocoder.getLocations(address:String,
Google Terms says I can only use reverse geocoding in conjunction with a google
I need to reverse geocode two locations from and to. Using the geocoder gem
I'm trying to get city name using latidute and longitude. Google geocoding support this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.