Memcache alternatives for App Engine Standard second generation runtimes

喜夏-厌秋 提交于 2020-01-02 06:58:23

问题


Google has released the general availability versions of their second generation runtimes for App Engine Standard including Node.js 10, Go 1.11, and PHP 7.2.

First generation runtimes included a Memcache service that has been removed in the second generation runtimes, recommending developers to use an external provider like Redis Lab Cloud, a service that is not available in the europe-west region. Cloud Memorystore would be is not even accessible from App Engine Standard.

Is there any other alternative to replace Memcache in the new runtimes? Our system relies heavily on that service, and while we are eager to migrate from PHP 5 to 7 the lack of a reliably and fast cache system is stopping us.


回答1:


The issue with App Engine standard to connect to Cloud Memorystore is the inability to connect to a specific VPC (where the Memorystore instance has its network peered).

There is a beta release for Serverless VPC access to fix exactly that.

According to the first paragraph of that doc:

Using Serverless VPC Access, you can connect from your App Engine app directly to Compute Engine VM instances, Cloud Memorystore instances, Cloud SQL instances, and any other resources with an internal IP address.



来源:https://stackoverflow.com/questions/55609767/memcache-alternatives-for-app-engine-standard-second-generation-runtimes

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