skip to Main Content

I am evaluating Symfony 5.0.1 with Google Cloud Application Flexible Engine.

I couldn’t use Memcache service provided in App Engine because I don’t know which “memcached_host” should be used.
Memcache in Application Engine

I tried using “session_memcached_host:localhost” in services.yaml but it doesn’t work

Same Project of Symfony is tested locally and it works well with local Memcache server (in my local setup).

2

Answers


  1. I am not App Engine expert but looking at the example below it appears you can directly call it from your code. Everything is preconfigured and you can just call it directly from your code. See the link below for further information:

    https://medium.com/google-cloud/appengine-memcache-service-google-cloud-platform-8214ee9eada1

    Login or Signup to reply.
  2. Here is an example of a PHP app using memcache on Google App Engine Standard.

    Here specifically you can see how you should configure memcache to work on App Engine

    I have tried the example above myself and it’s working as expected.

    NOTE: You have mentioned App Engine Flex but provided examples and docs on
    Standard.

    Memcache is currently generally available for App Engine Standard.

    Please keep in mind that there are huge differences between App Engine Flex and Standard.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search