I have an AppHarbor app that I’m using as an external service which will get requested by my other servers which use Google App Engine (python). The appharbor app is basically getting pinged a lot to process some data that I send it.
Because I’ll be constantly pinging the service, and time is important, is it possible to reference my appharbor app through its IP address and not the hostname? Basically I want to eliminate having to do DNS lookups and speed up the response.
I’m using Google App Engine’s urlfetch (https://developers.google.com/appengine/docs/python/urlfetch/overview) to do the request. Is caching the ip address something urlfetch is already doing under the covers? If not, is it possible to do so?
I doubt that DNS lookups will be your bottleneck, but anyway as far as I can see DNS lookups are cached by the system (for at least the TTL).