Oh man, I've been bitten by Java's DNS cache before as well. This should have been addressed in Java 6, which is what we run in production. Here's a quick blog post on the subject: http://www.mattryall.net/blog/2005/03/javas-awful-dns-caching
You shouldn't run into this in production. Let us know if you do. On Thu, Jan 14, 2010 at 4:44 AM, Max <max.seven....@gmail.com> wrote: > Do you know any issues with Java, DNS and AppEngine. > > If I run java app on non google appengine and my app will use app > engine app as web service. > > e.g. http://myapp2475687236458.appspot.com > > Have any one experienced problem that google will update DNS for > myapp2475687236458.appspot.com domain and Java will cache it and use > old IP. > > I had such problems with S3 before. Some libraries cache DNS results > and Java it self caches DNS. > > Amazon very often change IP for buckets. So I noticed it while > benching my app. > > Is it advised to use dnsjava or similar package from beginning or > nobody experienced such problems with app engine? > > Cheers, > Max > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > > > -- Ikai Lan Developer Programs Engineer, Google App Engine--
You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.