I guess it should be handled using virtual vm's. There are many products in market that offer Virtual VM example Terracotta. I am not sure how google is handling this, but i believe they would be using similar concepts of Virtual VMs.
On Sat, Jul 25, 2009 at 8:45 PM, Shane <shanelstev...@gmail.com> wrote: > > Hi, > > I am intrigued as to how singletons work in Google App Engine. Given > your application can be running in multiple processes (on multiple > machines) at once, and requests can get routed all off the place, what > actually happens under the hood when an app does something like: > 'CacheManager.getInstance()'? > > I'm just using the CacheManager as an example, but my point is, there > is a single global application instance of a singleton somewhere, so > where does it live? Is an RPC invoked? In fact, how is global > application state (like sessions) actually handled generally? > > Regards, > Shane > > > -- Vikramark http://www.vikramark.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---