How to access memcache on App Engine Nodejs Standa

2020-04-03 08:24发布

How does one access memcache from the nodejs standard environment?

1条回答
不美不萌又怎样
2楼-- · 2020-04-03 09:03

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

查看更多
登录 后发表回答