Neal,
  You might want to consider splitting thing up into separate WSGI
apps.  Last time I tested, code from separate apps is not executed
until it is needed.

  Also, look into webapp2, it supports "lazy handler" mappings.
    http://code.google.com/p/webapp-improved/


Robert






On Wed, Dec 1, 2010 at 21:00, NealWalters <[email protected]> wrote:
> Tim,
>  How would I go about your one suggestion: "Some other strategies you
> can adopt to shrink startup times is trying
> to defer some of your imports until you need to use the stuff. "
>
>  I have what I would consider a very large code base, just not many
> users at this time.  My main.py has probably 200 imports in it.
> But if I remove the imports, it won't compile... the WSGI statement
> cannot map the URL page name to the appropriate code.
>
> Neal
>
> --
> 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.
>
>

-- 
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.

Reply via email to