Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-29-2009, 03:59 PM   #12 (permalink)
lemonkey
Registered Member
 
Join Date: Dec 2009
Posts: 4
Default Not sure...

If all the quests from Apple appear to be from one IP or a series of IPs that are being cached by Google, this could be a good reason.

I too also ended up using Google's new REST API for a custom handler that I used on the server side for other lookups, but you have to be careful that you make only a certain number of requests per day. A single user of your iPhone app could make too many requests in one day to the Google REST API and it could block them. I ended up using Memcached to cache the results since the location I'm checking only changes every other day.

Also see my latest blog post:

Ari Braginsky: The Curious Case of MKReverseGeocoder


Quote:
Originally Posted by edpark View Post
I've been having the same problem-- works in the morning, stops working at night.

Here's my theory. We know that Google throttles reverse-geocoding requests by IP. My suspicion is that this throttling is reset at midnight each night and that MKReverseGeocoder passes its requests through a centralized caching proxy; since that proxy would appear as a single IP to Google, it stops working at a certain point during the day.

In any case, I ripped MKReverseGeocoder out of my app and rolled my own custom class using Google's new REST API (Geocoding - Google Maps API Services - Google Code) , and the app has been working great.

Hope this helps. The other thing someone could do is to try complaining to Apple and/or Google and get them to fix this, but rolling my own was easy enough and I didn't want to wade through the support bureaucracy.

Last edited by lemonkey; 12-29-2009 at 04:05 PM.
lemonkey is offline   Reply With Quote
 

» Advertisements
» Online Users: 350
13 members and 337 guests
ADY, antonwilliams, dcool, Desert Diva, HDshot, HemiMG, jakerocheleau, mer10, michelle, nobre84, smithdale87, thh022, vogueestylee
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,222
Posts: 380,722
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:23 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.