Saturday, November 12, 2022

[FIXED] How to access memcache on App Engine Nodejs Standard

Issue

How does one access memcache from the nodejs standard environment?


Solution

The documentation apparently makes no reference to the App Engine memcache being available to the Node.JS standard environment, at least not at this time:

But there may be an alternative. From APIs & Reference:

enter image description here

Which leads to Node.js Packages, where I can see:

enter image description here

Which leads to Cloud Redis: Node.js Client.

This is inline with the suggestions from the Memcache section of the Migrating Services from the Standard Environment to the Flexible Environment guides, the flexible environment having the same problem (except clearly documented):

The Memcache service is currently not available for the App Engine flexible environment



Answered By - Dan Cornilescu
Answer Checked By - Pedro (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.