Re: [google-appengine] 2 second RPC call to same url according to StackDriver?

2019-07-30 Thread James Crowley
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  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-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/f8944ad3-f48a-4f12-bc53-68f3ccebb2e5%40googlegroups.com
> 
> .
>


-- 

---
James Crowley

linkedin: http://linkedin.com/in/jamescrowley
twitter: http://twitter.com/jamescrowley

-- 
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/CAGxK9ipW9QnC%2BdxhC8DzyZTuTbC1YPB9umWcDp%3DCE9LrGdhgag%40mail.gmail.com.


Re: [google-appengine] 2 second RPC call to same url according to StackDriver?

2019-07-30 Thread 'Elliott (Cloud Platform Support)' via 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.

-- 
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/f8944ad3-f48a-4f12-bc53-68f3ccebb2e5%40googlegroups.com.


Re: [google-appengine] 2 second RPC call to same url according to StackDriver?

2019-07-30 Thread James Crowley
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?

On Tue, 30 Jul 2019 at 20:01, James Crowley  wrote:

> 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
>
> On Tue, 30 Jul 2019 at 10:14, James Crowley 
> wrote:
>
>>
>> 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
>>
>> --
>> 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/3447d0f6-4930-4c17-9478-c139aa684768%40googlegroups.com
>> 
>> .
>>
>
>
> --
>
> ---
> James Crowley
>
> linkedin: http://linkedin.com/in/jamescrowley
> twitter: http://twitter.com/jamescrowley
>


-- 

---
James Crowley

linkedin: http://linkedin.com/in/jamescrowley
twitter: http://twitter.com/jamescrowley

-- 
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/CAGxK9iq9q3-7ZOqxE6s7yYzzmtZ1WZ-LOG34XAa5EdZchY6Bfg%40mail.gmail.com.


Re: [google-appengine] 2 second RPC call to same url according to StackDriver?

2019-07-30 Thread James Crowley
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

On Tue, 30 Jul 2019 at 10:14, James Crowley  wrote:

>
> 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
>
> --
> 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/3447d0f6-4930-4c17-9478-c139aa684768%40googlegroups.com
> 
> .
>


-- 

---
James Crowley

linkedin: http://linkedin.com/in/jamescrowley
twitter: http://twitter.com/jamescrowley

-- 
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/CAGxK9ipESxkMCrikJWPA8W_6hnfE%3DtrFX3ZxoMXc1cfDFWwihw%40mail.gmail.com.


[google-appengine] 2 second RPC call to same url according to StackDriver?

2019-07-30 Thread James Crowley

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

-- 
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/3447d0f6-4930-4c17-9478-c139aa684768%40googlegroups.com.