On Mon, Oct 19, 2009 at 11:15 AM, Ben Bangert <[email protected]> wrote:

>> The only way to really fix this is to make the startup time of the app
>> faster.  I'm a little surprised with 10s, though if it was down to 3-5
>> seconds I probably would decide to not care, since the warmup is going
>> to be a small percentage of requests (especially the requests people
>> care about).  Other warmup costs can be substantial too, like getting
>> all the Javascript and CSS cached on the user's browser.
>
> I heard a rumor somewhere (GAE mail list?) that GAE can load and start
> an app using zipped libraries substantially faster than when they're
> not zipped (about 100% faster). That still turns a 10s startup down to
> a 5-7s startup though.

That's at least plausible -- instead of seeking around the filesystem
it would load up a zip file once with many constituent modules,
probably bringing the whole file zip into cache.  There's a command
"pip zip" which is mostly intended for GAE (including the --no-pyc
option) that should make it fairly easy to experiment with this.

-- 
Ian Bicking  |  http://blog.ianbicking.org  |  http://topplabs.org/civichacker

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to