Hello Joshua,

I understand that your program uses APIs that need more than 60 seconds to 
complete but even though you are using B8 instances in App Engine, your 
program times out past the 60 seconds. I’m assuming you are using App 
Engine Standard.

To find supporting documentation for you, can you tell me more about the 
"gotta get it done in 60 seconds" rule? Can you please give examples of 
this?


On Friday, December 11, 2020 at 12:01:48 PM UTC-5 Joshua Smith wrote:

> I have an app with a frontend UX that queries some backend APIs for 
> information. Some of these APIs need more than 60 seconds to complete their 
> work.
>
> I *thought* I could solve this by doing the following:
>
> 1. Run the code on a B8 instance with a different service name
> 2. Set up dispatch.yaml to direct the incoming API requests to that 
> service:
>
> dispatch:
>
> - url: "*/api/*"
>   service: reporting
>
> - url: "*/*"
>   service: default
>
> The dispatching is working correctly. I see this in my logs for an /api 
> hit:
>
> However, it's timing out:
>
>
> My understanding was that a B8 instance didn't have the "gotta get it done 
> in 60 seconds" rule that frontend instance types did.
>
> What am I missing?
>
> -Joshua
>
>

-- 
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/7209920b-7b59-4dd4-84a6-e722e7df462bn%40googlegroups.com.
  • [google-appe... Joshua Smith
    • [google... 'Elliott (Cloud Platform Support)' via Google App Engine
      • Re:... 'Manpreet Sidhu (Google Cloud Support)' via Google App Engine
        • ... Joshua Smith
          • ... Linus Larsen
            • ... Joshua Smith
              • ... 'Elliott (Cloud Platform Support)' via Google App Engine
                • ... Joshua Smith
            • ... Joshua Smith

Reply via email to