How to access memcache on App Engine Nodejs Standard

醉酒当歌 提交于 2019-12-30 17:39:40

问题


How does one access memcache from the nodejs standard environment?


回答1:


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:

  • there is no Node.JS language tab in the Memcache Overview page(s)
  • there is no Caching Application Data section (under which the memcache-related docs exist for the other languages) under How-to Guides in the left-side navigation bar for Google App Engine Node.js Standard Environment Documentation

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

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

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



来源:https://stackoverflow.com/questions/51033757/how-to-access-memcache-on-app-engine-nodejs-standard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!