Re:Cheap or free web-based tools for your web startup
by eop on Tuesday March 30, 2010 @02:07PM
(#1229760)
Cold startup is almost unnoticeable for Python apps (bite my lip! see update below). On the Java side it can be an issue but, as with most things, if you dig around, you can find some acceptable workarounds.
Re:Cheap or free web-based tools for your web startup
by cgrinds on Tuesday March 30, 2010 @02:29PM
(#1229806)
No - I've seen 'Hello World' style apps take over 4s to cold startup. For example http://timezonetimezone.appspot.com/iscorrect?query=EST
Took 4.67s to render http://www.webpagetest.org/result/100306_5PZ7/1/details/
I monitored cold startup for a month on one of my apps and some times see 10s cold startup. http://www.webpagetest.org/result/100309_5TDW/
This is after profiling, reducing imports, caching, using app appstats, etc.
Re:Cheap or free web-based tools for your web startup
by eop on Tuesday March 30, 2010 @02:47PM
(#1229849)
Wow, you're right. I just ran a test on one of my Python apps and found the same thing. I always assumed 4 seconds was an acceptable start up time, especially when compared with some of the Java apps I have runnning on App Engine which have often exceeded the 30 second page limit on startup and generated a DeadlineExceededException. Thanks for showing your results. I would never have known this was an issue.
Re:Cheap or free web-based tools for your web startup
by jeff18 on Tuesday March 30, 2010 @06:14PM
(#1230333)
Couldn't you just set up a cron job to ping your app every 15 minutes until you start getting some real traffic?
Re:Cheap or free web-based tools for your web startup
by cgrinds on Tuesday March 30, 2010 @08:24PM
(#1230583)
You could - but it would need to be every 1 minute. Google tears down your app after 60-90 seconds of inactivity.
Some folks have resorted to pinging every minute but Google discourages that since it ties up their resources. If everyone pinged their site once a minute then resources would never be freed....
Here's a good thread on the issue https://groups.google.com/group/google-appengine/browse_thre...
If you have a popular app, this isn't an issue. If you don't, it hurts.