I was just experimenting with a way to get multiple servers synchronized to within a second. Here's what I came up with:
https://gist.github.com/836228 It grabs the date header off of a fetch request and calculates the delta between the server's time and the "canonical" time. Then when you call synchronize(date) it subtracts that delta from the supplied datetime. The date header doesn't return microseconds, and you have to consider that the round-trip time adds inaccuracy, so I think +/- 1 second is the best that can be done. In my brief tests I was seeing that the app engine time was basically the same as canonical time without doing any of this hackery. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
