As far as I understand, Google recommends closing connection right away, after you perform all operations. The latency to check whether a connection is still open is (almost?) the same as opening a new one, so it doesn't seem to be worth keeping it open.
They also say a per-hour-usage db instance gets inactive after 15 min idle, and12 hours (if I remember correctly) forthe other plan (you pay flat per day). I've seen high latencies only on first connect to a "cold" db instance. You'll find more in the official docs. I liked it. Works better than I expected. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/usXB3qS55KcJ. 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.
