Thanks for a clear point here.

On Monday, July 2, 2018 at 6:47:01 PM UTC+4, Jordan (Cloud Platform 
Support) wrote:
>
> It is not recommended to change the code that is currently running on a 
> single App Engine instance. Since App Engine scales its instances of your 
> application, 
> <https://cloud.google.com/appengine/docs/standard/nodejs/how-instances-are-managed>
>  
> that single instance may turn down due to low traffic, and you would lose 
> any changes persisted on that instance. Likewise, new instances created due 
> to higher traffic will not posses the change you made (since it was only 
> local to that single instance). Additionally you cannot control which 
> instance a request will run on. 
>
> It is therefore recommended to directly deploy a new App Engine version 
> <https://cloud.google.com/appengine/docs/standard/nodejs/testing-and-deploying-your-app#deploying_your_application>
>  
> with your code change, and then migrate your traffic to the new version 
> <https://cloud.google.com/appengine/docs/standard/nodejs/migrating-traffic#migrating_traffic_to_a_new_version>.
>  
> This way no requests will be made to your new version until you deploy it 
> and/or migrate traffic to it (as deploying may actually migrate traffic for 
> you automatically). Once deployed, all requests will now see your 
> configuration change and run on the new code. 
>
> - Note that Google Groups <https://cloud.google.com/support/docs/groups> 
> is reserved for general discussions. If you require technical support for 
> performing the above it is recommended to post your detailed questions 
> <https://stackoverflow.com/help/how-to-ask> to Stack Exchange 
> <https://cloud.google.com/support/docs/stackexchange> using the supported 
> Cloud tags. 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6cde09bf-e766-4aac-bea0-408fa3dea650%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to