GAE has no "global memory" - every handler runs in it's own address space. You can persist data in the datastore (perhaps caching with memcache for performance), or in browser cookies. A lot of applications can do with the Users API instead of full-blown sessions.
-Nikola On Oct 30, 10:11 pm, sal <[EMAIL PROTECTED]> wrote: > I tried to RTFM a bit on the topic and wasn't able to find what was > needed - if someone with more App Engine experience could point me in > the right direction that would be great! > > I understand that any cloud computing environment needs to allow for > dynamic allocation of computing resources - I am just looking to > discover what some of the operating parameters are so I can avoid > errors with my apps. My questions: > > - Regarding the behavior of regular python data structures: Assume I > have an object (an instance of a class) in global memory (for > performance reasons) which contains various fields holding values. > How long will a single user's web requests hit the same instance of > that object? Will multiple requests ever go to different 'cached' > instances of that object or another instance of that in-memory data > structure located on a different server? Do I need to anticipate > requests coming from the same user going to different web servers that > have independant cached versions of my application's data structures, > simultaneously? > > - How much 'memory' or 'ram' (Regular python memory') can I consume > via my python code... in the form of lists, Strings, dicts, etc. > before I encounter an exception? Is the limit per-user-session or per- > app? > > - I noticed from limited testing that there is at least a small > semblance of a session... what is the token used to arrbitrate them? > ie: does GAE use a browser cookie, the IP of the user - or a cookie > containing the user id? (I want to make sure that I don't invalidate > whatever the mechanic is, so I don't destroy the user's sessions) > > I'll try to keep searching documentation for some answers... if anyone > can point me to any info in the right direction I *greatly* > appreciate, in advance, all your help, > > - Sal --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---