How to access memcache on App Engine Nodejs Standard

前端 未结 1 411
故里飘歌
故里飘歌 2021-01-17 23:11

How does one access memcache from the nodejs standard environment?

相关标签:
1条回答
  • 2021-01-18 00:01

    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

    0 讨论(0)
提交回复
热议问题