On Tue, Jul 3, 2018 at 12:37 AM Parth Mishra <[email protected]> wrote:

>
> 1. Isn't the deadline exceeded error only for standard App engine or does
> it apply to both? I was testing this today and I could make requests with
> latency return times of much greater than 60s
>

Correct, request timeout limit is 60 seconds for standard and 60 minutes
for flexible (see comparison here
<https://cloud.google.com/appengine/docs/the-appengine-environments#comparing_high-level_features>
).


> 2. I guess I'm confused on why the app.yaml documentation for Flexible
> omits things such as 'max_concurrent_requests' and 'target_cpu_throughput'.
> Do those concepts of concurrency not apply to flexible? The only way to
> scale in the flexible engine is to reach a target CPU threshold, but what
> if I want to scale based on request latency as well? Somewhat similarly, I
> want to know if I can configure my web framework to accept new requests
> without waiting for an existing one to finish. Does that clear up what I'm
> trying to achieve?
>

Scaling is indeed different between standard and flexible, see short
description here
<https://cloud.google.com/appengine/docs/flexible/python/flexible-for-standard-users#scaling_characteristics>.
The "target_cpu_throughput
<https://cloud.google.com/appengine/docs/standard/python/config/appref#scaling_elements>"
setting of standard is "cpu_utilization : target_utilization
<https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml#automatic_scaling>"
in flexible though.


>
> On Monday, July 2, 2018 at 2:00:56 PM UTC-4, Kenworth (Google Cloud
> Platform) wrote:
>>
>> 1- I assume the 60-second value was just some random number. This is
>> because the deadline for requests to frontend instances is 60 seconds.
>> Otherwise, you will be hit by DeadlineExceededErrors
>> <https://cloud.google.com/appengine/articles/deadlineexceedederrors>.
>>
>> 2- Concurrent, by definition, means an event can exist/happen or be done
>> at the same time. This means it does not have to wait for a single task to
>> finish before executing the next one. GAE Flex environment automatically
>> scales your app and down
>> <https://cloud.google.com/appengine/docs/flexible/> while balancing the
>> load. Here is an article
>> <https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed#instance_scaling_1>
>> explaining the instance behavior depending if the application is set to
>> manual or automatic scaling.
>>
> --
> 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/52f798a0-9ff7-4df1-8551-b8815ee61142%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/52f798a0-9ff7-4df1-8551-b8815ee61142%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALdDuQ5VCp%2B%2BhCEi6w-jVAb2N07b9nBVcAfGiTKtbK2x_XMj8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to