Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2020-07-20 Thread wesley chun
This question only applies to Flex users
.
According to the documentation
,
health check HTTP requests are *not* sent to the container, meaning that it
doesn't affect the autoscaling (up or down) to your app like "real" traffic
to your app. The exception is if you "extended" your health checks to your
app by providing a path to the endpoint you wish to be hit when a health
check is performed. I'm sure you also know that Flex requires *at least* 1
instance being up, so it'll never downscale to zero (see this page

regarding scaling, health checks, and other differences b/w standard &
flexible environments.

Hope this helps!
--Wesley

On Sun, Jul 19, 2020 at 4:26 PM tz martin  wrote:

> Does anyone know if potential health check settings (liveness_check or
> readiness_check) are as requests that would prevent downscaling instances?
> Wondering if health check "bursts" would keep one or all instances alive.
>
> On Tuesday, September 3, 2019 at 2:52:21 PM UTC diogoa...@google.com
> wrote:
>
>> You can use the App Engine custom runtime
>>  to
>> deploy an application in any language.
>>
>> I did not find any documents about Angular 8, but as a starting point you
>> could take a look at this tutorial for deploying Angular 6
>> 
>> .
>>
>> As not all use cases can be covered in the App Engine documents I
>> recommend you take request development assistance on Stack Overflow
>> ,
>> where the community of developers will be able to help you with your
>> Angular coding.
>>
>> On Tuesday, September 3, 2019 at 8:54:41 AM UTC-4, chuda mani wrote:
>>>
>>> hi i need a suggestion , i have to deploy angular 8 application with
>>> apache server in gcp app engine..is it possible?..if so please  forward any
>>> reference documents..thank you
>>>
>>
-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A computer never does what you want... only what you tell it."
wesley chun :: @wescpy  :: Software
Architect & Engineer
Developer Advocate at Google Cloud by day; at night...
Python training & consulting : http://CyberwebConsulting.com
"Core Python" books : http://CorePython.com
Python blog: http://wescpy.blogspot.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAB6eaA7%3Doqv4FY%2Bb4bvSuoKresHvX%2BJiVS_pnPnXDxUcKLoENw%40mail.gmail.com.


Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2020-07-19 Thread tz martin
Does anyone know if potential health check settings (liveness_check or 
readiness_check) are as requests that would prevent downscaling instances?  
Wondering if health check "bursts" would keep one or all instances alive. 

On Tuesday, September 3, 2019 at 2:52:21 PM UTC diogoa...@google.com wrote:

> You can use the App Engine custom runtime 
>  to 
> deploy an application in any language.
>
> I did not find any documents about Angular 8, but as a starting point you 
> could take a look at this tutorial for deploying Angular 6 
> 
> .
>
> As not all use cases can be covered in the App Engine documents I 
> recommend you take request development assistance on Stack Overflow 
> ,
>  
> where the community of developers will be able to help you with your 
> Angular coding.
>
> On Tuesday, September 3, 2019 at 8:54:41 AM UTC-4, chuda mani wrote:
>>
>> hi i need a suggestion , i have to deploy angular 8 application with 
>> apache server in gcp app engine..is it possible?..if so please  forward any 
>> reference documents..thank you
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b649012d-4760-4051-a088-a126fd92056en%40googlegroups.com.


Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2019-09-03 Thread 'Diogo Almeida' via Google App Engine
You can use the App Engine custom runtime 
 to 
deploy an application in any language.

I did not find any documents about Angular 8, but as a starting point you 
could take a look at this tutorial for deploying Angular 6 

.

As not all use cases can be covered in the App Engine documents I recommend 
you take request development assistance on Stack Overflow 
,
 
where the community of developers will be able to help you with your 
Angular coding.

On Tuesday, September 3, 2019 at 8:54:41 AM UTC-4, chuda mani wrote:
>
> hi i need a suggestion , i have to deploy angular 8 application with 
> apache server in gcp app engine..is it possible?..if so please  forward any 
> reference documents..thank you
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0aebc9c1-910d-4eb8-9793-a8ce55fa0c93%40googlegroups.com.


Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2019-09-03 Thread chuda mani
hi i need a suggestion , i have to deploy angular 8 application with apache 
server in gcp app engine..is it possible?..if so please  forward any 
reference documents..thank you

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7760dfe5-fde8-4b4b-8dd8-346ad06b34de%40googlegroups.com.


Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2019-08-30 Thread 'Diogo Almeida' via Google App Engine
In that case, you are already using all the app.yaml parameters 

 
made available for the flexible environment.

On Friday, August 30, 2019 at 12:38:10 AM UTC-4, Harshit Dwivedi wrote:
>
> Thanks but this seems to be available only for the Standard environment.
> I'm currently using Appengine in the flex environment.
>
> On Fri, Aug 30, 2019, 7:21 AM 'Diogo Almeida' via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>> Other than the parameter you are already using, I recommend you check how 
>> auto scaling services use dynamic instances 
>> 
>>  
>> and the parameter you can use in the app.yaml.
>>
>> On Thursday, August 29, 2019 at 12:36:08 PM UTC-4, Harshit Dwivedi wrote:
>>>
>>> Thanks George for the explanation.
>>> Is there a way I can tweak the autoscaling params for my appengine flex 
>>> deployment?
>>>
>>> As far as I can see, it only allows me to modify the scaling based on 
>>> the CPU utilization.
>>>
>>> On Thu, Aug 29, 2019 at 4:46 AM 'George (Cloud Platform Support)' via 
>>> Google App Engine  wrote:
>>>
 Hello Harshit, 

 You seem to imply that downscaling depends strictly on CPU utilization 
 levels. This is in fact not exactly the case, there are more factors 
 involved; following policies may be adopted:

 - Average CPU utilization (not identical to target utilization)
 - HTTP load balancing serving capacity, which can be based on either 
 utilization or requests per second.
 - Stackdriver Monitoring metrics. 

 Scaling algorithms are not easy to describe. One factor that comes to 
 mind is historic in nature: CPU charge for a certain past period, for 
 instance. You may find related detail in the Scaling characteristics 
 
  
 sub-chapter of the "App Engine Flexible Environment for Users of App 
 Engine 
 Standard Environment", which refers to Autoscaling policy and target 
 utilization 
 .

 -- 
 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 view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/9e9c9047-5b13-4a9e-8cf7-b161124d3d8e%40googlegroups.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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/4d7b4fde-207d-4e4b-9743-c8b90c99a1cc%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/73df3297-2e5b-47a0-9b23-1f017e8c18d4%40googlegroups.com.


Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2019-08-29 Thread Harshit Dwivedi
Thanks but this seems to be available only for the Standard environment.
I'm currently using Appengine in the flex environment.

On Fri, Aug 30, 2019, 7:21 AM 'Diogo Almeida' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Other than the parameter you are already using, I recommend you check how
> auto scaling services use dynamic instances
> 
> and the parameter you can use in the app.yaml.
>
> On Thursday, August 29, 2019 at 12:36:08 PM UTC-4, Harshit Dwivedi wrote:
>>
>> Thanks George for the explanation.
>> Is there a way I can tweak the autoscaling params for my appengine flex
>> deployment?
>>
>> As far as I can see, it only allows me to modify the scaling based on the
>> CPU utilization.
>>
>> On Thu, Aug 29, 2019 at 4:46 AM 'George (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> Hello Harshit,
>>>
>>> You seem to imply that downscaling depends strictly on CPU utilization
>>> levels. This is in fact not exactly the case, there are more factors
>>> involved; following policies may be adopted:
>>>
>>> - Average CPU utilization (not identical to target utilization)
>>> - HTTP load balancing serving capacity, which can be based on either
>>> utilization or requests per second.
>>> - Stackdriver Monitoring metrics.
>>>
>>> Scaling algorithms are not easy to describe. One factor that comes to
>>> mind is historic in nature: CPU charge for a certain past period, for
>>> instance. You may find related detail in the Scaling characteristics
>>> 
>>> sub-chapter of the "App Engine Flexible Environment for Users of App Engine
>>> Standard Environment", which refers to Autoscaling policy and target
>>> utilization 
>>> .
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/9e9c9047-5b13-4a9e-8cf7-b161124d3d8e%40googlegroups.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/4d7b4fde-207d-4e4b-9743-c8b90c99a1cc%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAErTERc%2BG_SSRV6Xep%2B0NPuTdL_b5NNYeJNsLK6De_YY%2Bq8nAg%40mail.gmail.com.


Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2019-08-29 Thread 'Diogo Almeida' via Google App Engine
Other than the parameter you are already using, I recommend you check how 
auto scaling services use dynamic instances 

 
and the parameter you can use in the app.yaml.

On Thursday, August 29, 2019 at 12:36:08 PM UTC-4, Harshit Dwivedi wrote:
>
> Thanks George for the explanation.
> Is there a way I can tweak the autoscaling params for my appengine flex 
> deployment?
>
> As far as I can see, it only allows me to modify the scaling based on the 
> CPU utilization.
>
> On Thu, Aug 29, 2019 at 4:46 AM 'George (Cloud Platform Support)' via 
> Google App Engine  wrote:
>
>> Hello Harshit, 
>>
>> You seem to imply that downscaling depends strictly on CPU utilization 
>> levels. This is in fact not exactly the case, there are more factors 
>> involved; following policies may be adopted:
>>
>> - Average CPU utilization (not identical to target utilization)
>> - HTTP load balancing serving capacity, which can be based on either 
>> utilization or requests per second.
>> - Stackdriver Monitoring metrics. 
>>
>> Scaling algorithms are not easy to describe. One factor that comes to 
>> mind is historic in nature: CPU charge for a certain past period, for 
>> instance. You may find related detail in the Scaling characteristics 
>> 
>>  
>> sub-chapter of the "App Engine Flexible Environment for Users of App Engine 
>> Standard Environment", which refers to Autoscaling policy and target 
>> utilization .
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/9e9c9047-5b13-4a9e-8cf7-b161124d3d8e%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4d7b4fde-207d-4e4b-9743-c8b90c99a1cc%40googlegroups.com.


Re: [google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2019-08-29 Thread Harshit Dwivedi
Thanks George for the explanation.
Is there a way I can tweak the autoscaling params for my appengine flex
deployment?

As far as I can see, it only allows me to modify the scaling based on the
CPU utilization.

On Thu, Aug 29, 2019 at 4:46 AM 'George (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Harshit,
>
> You seem to imply that downscaling depends strictly on CPU utilization
> levels. This is in fact not exactly the case, there are more factors
> involved; following policies may be adopted:
>
> - Average CPU utilization (not identical to target utilization)
> - HTTP load balancing serving capacity, which can be based on either
> utilization or requests per second.
> - Stackdriver Monitoring metrics.
>
> Scaling algorithms are not easy to describe. One factor that comes to mind
> is historic in nature: CPU charge for a certain past period, for instance.
> You may find related detail in the Scaling characteristics
> 
> sub-chapter of the "App Engine Flexible Environment for Users of App Engine
> Standard Environment", which refers to Autoscaling policy and target
> utilization .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/9e9c9047-5b13-4a9e-8cf7-b161124d3d8e%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAErTERe%3DWEzk7VGPmx%2BJUvMSk6OCtBZMrDhshAnkHCB18WZmWQ%40mail.gmail.com.


[google-appengine] Re: App Engine doesn't downscale when CPU utilisation is below target_utilization

2019-08-28 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Harshit, 

You seem to imply that downscaling depends strictly on CPU utilization 
levels. This is in fact not exactly the case, there are more factors 
involved; following policies may be adopted:

- Average CPU utilization (not identical to target utilization)
- HTTP load balancing serving capacity, which can be based on either 
utilization or requests per second.
- Stackdriver Monitoring metrics. 

Scaling algorithms are not easy to describe. One factor that comes to mind 
is historic in nature: CPU charge for a certain past period, for instance. 
You may find related detail in the Scaling characteristics 

 
sub-chapter of the "App Engine Flexible Environment for Users of App Engine 
Standard Environment", which refers to Autoscaling policy and target 
utilization .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9e9c9047-5b13-4a9e-8cf7-b161124d3d8e%40googlegroups.com.