memcachedapp-engine-flexiblesession-state-server

Does Google App Engine Flexible Environment support a session-store out of the box?


Memcache backs the OOTB session store for App Engine Standard Environment, yet App Engine Memcache does not work with Flexible Environment.

Documentation for configuring Flex Env says nothing about sessions.

Of course I could implement this myself, but sessions stores are basic to most fully functional application servers, including GAE Standard Environment. Can I get a session-store with some configuration and no coding?


Solution

  • Out of the box session-store for App Engine Flex is currently not featured, as opposed to App Engine Standard which has this option when using Java, while Flex has the same behavior for all runtimes, with no expected differences between them.

    Should you consider OOTB session-store for App Engine Flex a feature that should be added to its functionalities, please file a feature request by going through this link.

    As @komarkovich pointed out, you can use Cloud Memorystore to manage sessions and perform session-store operations, however the OOTB functionality that you request is not present there either. Using DB backends such as Redis or Datastore can also manage

    For a more integrated approach, you can use Firebase user session management to manage your sessions. I am not a Firebase expert myself, so I would not be able to help you further on that side, but there are good people on this community (such as Frank van Puffelen) that can help you should you have any doubts about using it.