Access memcache from Google Functions

415 views
Skip to first unread message

Nima Ghotbi

unread,
Dec 26, 2017, 6:43:09 AM12/26/17
to Google Cloud Developers
Hi, Is there any accessible memcache API from Google Functions?

George (Cloud Platform Support)

unread,
Dec 26, 2017, 11:36:11 AM12/26/17
to Google Cloud Developers
Hello Nima, 

What would you like to do exactly? Would you like to call a function to access memcache? Cloud Functions are ephemeral, spinning up on-demand and back down in response to events in the environment. By contrast, if you want to use memcache effectively, you need to call it at least twice: to store something and to retrieved what had been stored. 

There is a Memcache API, which provides memcached-alike API to application developers to store data in memory when reliable storage via the DataStore API isn’t required and higher performance is desired. You may get more insight by reading the "google.appengine.api.memcache package" documentation page
Reply all
Reply to author
Forward
0 new messages