[google-appengine] 5-10 mins of downtime after deployment.

2013-09-19 Thread jay
Hey folks,

Over the last few months, every now and then when I deploy I have 5 -10 
minutes of downtime after I deploy a new version. 

I'm using python. View the app here: http://triton.ironhelmet.com

In the log I get the usual, Compilation Completed, Starting Deployment.. 
then it checks if the app version is serving for a long timer after that. 

A few weeks back it actually time out (I think after 15 minutes).

During this time all the uses see is Error: Not Found The requested URL / 
was not found on this server.

Now I'm a little afraid to deploy because 10 minutes of down time is a big 
deal for my users. 

Is there anything I can do to fix this? Is this an issue on my side?

Help!

Jay.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] 5-10 mins of downtime after deployment.

2013-09-20 Thread Vinny P
On Fri, Sep 20, 2013 at 4:45 AM, jay  wrote:

>
> Is this not something other folks are experiencing?
>


I've heard of 2-3 minutes of initial deployment downtime before, usually
due to (very) transient errors, errors in deployment, errors in
application initialization, and/or errors in instance spawning. But 5 - 10
minutes of downtime from deployments on a semi-regular basis, that's
something extremely unusual.

You might want to try installing AppStats to see if there are any hanging
or slow calls during init causing this downtime.

On Fri, Sep 20, 2013 at 4:45 AM, jay  wrote:

> I would have thought it might be something you want to look into.
>
>

Just FYI, I don't work for Google. I'm just a guy who writes/maintains apps
on App Engine.



-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com





-- 
Sent from Gmail Mobile

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] 5-10 mins of downtime after deployment.

2013-09-19 Thread Vinny P
On Thu, Sep 19, 2013 at 7:38 PM, jay  wrote:

> Is this an issue on my side?
>
>

Are you doing any processing at instance startup, or any sort of
time-consuming operation?


On Thu, Sep 19, 2013 at 7:38 PM, jay  wrote:

> Over the last few months, every now and then when I deploy I have 5 -10
> minutes of downtime after I deploy a new version.
>
>

What you can try to do is upload your new version as an entirely different
version - change the version number in your app.yaml and then upload it.
Then you'll have two different versions on App Engine servers - the "old"
current-production version and the newly uploaded version. Send some
requests to the newly uploaded version, let it spool up and work through
its "5 - 10 minute downtime". Then you can change it to the default version
on the Versions tab of the admin console. There should be no downtime from
the switch.



-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] 5-10 mins of downtime after deployment.

2013-09-20 Thread jay
No, there is no start up processing. This only happens perhaps one in 20 
updates. 

I don't really want to bump the version number 3 times a day just in case 
there is some weird down time.

Is this not something other folks are experiencing? I would have thought it 
might be something you want to look into.

On Friday, 20 September 2013 13:44:38 UTC+10, Vinny P wrote:
>
> On Thu, Sep 19, 2013 at 7:38 PM, jay >
>  wrote:
>
>> Is this an issue on my side?
>>
>>
>
> Are you doing any processing at instance startup, or any sort of 
> time-consuming operation?
>
>
> On Thu, Sep 19, 2013 at 7:38 PM, jay >
>  wrote:
>
>> Over the last few months, every now and then when I deploy I have 5 -10 
>> minutes of downtime after I deploy a new version. 
>>
>>
>
> What you can try to do is upload your new version as an entirely different 
> version - change the version number in your app.yaml and then upload it. 
> Then you'll have two different versions on App Engine servers - the "old" 
> current-production version and the newly uploaded version. Send some 
> requests to the newly uploaded version, let it spool up and work through 
> its "5 - 10 minute downtime". Then you can change it to the default version 
> on the Versions tab of the admin console. There should be no downtime from 
> the switch.
>
>  
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] 5-10 mins of downtime after deployment.

2013-09-20 Thread jay
Oh thanks Vinny, I do appreciate you taking the time to make some 
suggestions. 

Jay.

On Saturday, 21 September 2013 01:28:55 UTC+10, Vinny P wrote:
>
> On Fri, Sep 20, 2013 at 4:45 AM, jay  wrote:
>
>>
>> Is this not something other folks are experiencing?
>>
>
>
> I've heard of 2-3 minutes of initial deployment downtime before, usually 
> due to (very) transient errors, errors in deployment, errors in 
> application initialization, and/or errors in instance spawning. But 5 - 10 
> minutes of downtime from deployments on a semi-regular basis, that's 
> something extremely unusual.
>
> You might want to try installing AppStats to see if there are any hanging 
> or slow calls during init causing this downtime.
>
> On Fri, Sep 20, 2013 at 4:45 AM, jay  wrote:
>
>> I would have thought it might be something you want to look into.
>>
>>
>
> Just FYI, I don't work for Google. I'm just a guy who writes/maintains 
> apps on App Engine.
>
>  
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  
>
>
>
>
> -- 
> Sent from Gmail Mobile
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.