2 second RPC call to same url according to StackDriver?

30 views
Skip to first unread message

James Crowley

unread,
Jul 30, 2019, 6:14:24 AM7/30/19
to Google App Engine

Hi - I'm trying to diagnose some significant performance issues when running PHP 7 in the standard AppEngine environment.

I've enabled stackdriver tracing (we start the trace as the first step in our PHP app, in the entry point php file), and it seems to be showing the root URL doing an RPC call to the root URL, taking 2 seconds before any of our code executes?

J
Screenshot 2019-07-30 at 10.03.56.png

James Crowley

unread,
Jul 30, 2019, 4:02:25 PM7/30/19
to Google App Engine
Can someone on the Google team pick this up? It turns out this is a crazy non-obvious gotcha to hit. It turns out my app.yaml had this:

- url: /.*
script: auto
secure: always

and it should have been (no slash)

- url: .*
script: auto
secure: always

This change reduced our load times by 2 seconds per request. 

Thanks

James
--
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-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3447d0f6-4930-4c17-9478-c139aa684768%40googlegroups.com.


--

James Crowley

unread,
Jul 30, 2019, 4:26:25 PM7/30/19
to Google App Engine
I may have spoken too soon - turns out POST requests don't have this behaviour, and GET requests do.

Anyone have any ideas what would cause this? 

Elliott (Cloud Platform Support)

unread,
Jul 30, 2019, 5:10:32 PM7/30/19
to Google App Engine

Hello James,


Please note that Google Groups are reserved for general Google Cloud Platform-end product discussions and not for reporting issues, which is why I suggest moving the troubleshooting to Issue Tracker, where issues can be turned private in case we need to gather any project specific details.


James Crowley

unread,
Jul 30, 2019, 5:29:59 PM7/30/19
to Google App Engine
Thanks Elliott - I wasn't aware of that tracker.

On Tue, 30 Jul 2019 at 21:10, 'Elliott (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:

Hello James,


Please note that Google Groups are reserved for general Google Cloud Platform-end product discussions and not for reporting issues, which is why I suggest moving the troubleshooting to Issue Tracker, where issues can be turned private in case we need to gather any project specific details.


--
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-appengi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages