GoogleCloudPlatform / appengine-custom-runtimes-samples

Samples for creating custom runtimes on Google App Engine Flexible
Apache License 2.0
121 stars 60 forks source link

Long TTFB for App Engine Flexible #25

Open fschirl opened 5 years ago

fschirl commented 5 years ago

Hi all, I don't know if the Issue is correct here.

I do have problems with GCP App Engine Flexible (without any special nginx.conf). Although the App Engine is auto-scaling I do have randomly (1 out of 10) request having a very long connection / TTFB time.

Debugging is telling me, that the app code itself is performing very well (< 100ms) but TTFB is taking up to > 1s.

Is there any way to optimize this, or what could be the issue?

derekherman commented 3 years ago

I've been seeing like 500-800ms TTFB, as well. I'm considering moving as this is causing issues with our CWV. Also, not seeing a response to this from Google is a bit concerning.