Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access memcache on App Engine Nodejs Standard

How does one access memcache from the nodejs standard environment?

like image 460
Tim Avatar asked Jun 26 '18 01:06

Tim


1 Answers

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:

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

like image 105
Dan Cornilescu Avatar answered Nov 11 '22 08:11

Dan Cornilescu