Isn't there a python program that can take a python library and
resolve everything about it down to a single file? It would be a
bloody massive file, but would load tremendously faster then a ton of
smaller ones...
--
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-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Toby, you write that it doesn't usually pay to optimize loading
requests.
I agree with this whole-heartedly when you have your own server, and
only load once per day or month. It's probably true using GAE when
you have 100K+ page views per day.
But for lower-volume web sites, GAE performance is atrocious. In my
personal case, we have optimized in all sorts of ways (js
minification, liberal use of memcache, image sprites, sticking with
Django 0.96, etc.) ... but the typical user experience is quite poor.
It takes 3-10 seconds for the first page to load, and then often the
instance is swapped out while the user reads the current page, so that
the next request experiences the same thing. If the app is warm,
performance is fine.
Maybe this gets appreciably better as traffic improves, but of course,
I can't see that at present.
I love GAE in theory, but it's getting
harder to ignore the reality of low-volume performance.
Toby,
In the past, it was several minutes before an active instance would be
swapped out. Of late, I have seen it repeatedly/regularly happening
within several seconds.
I've avoided (so far) the auto-ping approach; your idea to auto-ping
only when a user is on a page is intriguing. Still wasteful and
"wrong", but perhaps necessary.
Yes, I have voted for the paid warm instance :-)
Finally, I don't understand how I can significantly reduce my warm up
time. I suppose I could split each "page" into a separate app.yaml
handler (already done for admin versus user tasks), but then the user
would even more certainly run into startup issues when navigating
within the site. Besides, most of the time is spent importing Django
and system stuff I can't control.
The only reason I'm using Dango (0.96) is for translations ... is
there a built-in way to handle translations via webapp?
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
hi toby
you said: "VM timeouts are measured on the order of minutes, not
seconds" - I have not seen this in practice since over a year ago when
GAE will still young. currently, every site I've measured is collected
in seconds (10, maybe 20)
also: "to write a "Hello World" python app that responds from a cold
start on the order of 100m" - again, I have not seen this in practice
for quite some time. the simplest of python sites, with no imports and
very little code seem to start in the 500ms to 1s range (and
sometimes, much longer). Please note Nick's post here, where he
changed his original cold-start metrics: http://bit.ly/6Fsoxv
To unsubscribe from this group, send email to google-appengi...@googlegroups.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-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.