Currently I develop REST API using laravel framework and I deploy it to 
both Google Cloud App Engine Standard and Flexible version.

When I deploy it to flexible version, it works fine. However, since my app 
still prototype, I want to change it to standard version so I can get the 
free tier because my app still use very little resources. 

However, when I try to deploy to App Engine standard, everything still 
works, but the response quite slow, compared to flexible. I already tried 
to change the instance class to the highest spec machine, but still the 
same result.

So I try to find out what's going on, I thought App engine standard slower 
than flexible.

My findings:

App Engine Standard

[image: MdRqA.png]

[image: nx9T3.png]



App Engine Flexible 

[image: JGBau.png]

[image: lgEpT.png]




As you can see, the standard and flexible request to the same API endpoint, 
however, in standard version, the response return not in gzip encoding and 
more bytes were return, while flexible version return in gzip encoding.

I think that might be the problem why every request become slow. In 
Flexible, mostly the request return under 1000 ms, while in standard most 
of the time around 2000 ms.

Do you guys have any idea how to enable gzip compression in App Engine 
Standard, or do you think there is other problem that cause the response to 
be slow.

Thank You for your help :)

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
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/08fc8fa5-9a14-42f5-9982-95046a680271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to