App Engine标准第二代运行时的Memcache替代品 [英] Memcache alternatives for App Engine Standard second generation runtimes

查看:84
本文介绍了App Engine标准第二代运行时的Memcache替代品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google已发布其

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.

第一代运行时包含一个Memcache服务,该服务已在第二代运行时中删除,无法访问Cloud Memorystore来自App Engine Standard .

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.

在新的运行时中,是否还有其他替代方法来代替Memcache?我们的系统严重依赖于该服务,并且当我们渴望从PHP 5迁移到7时,缺少可靠且快速的缓存系统正在阻止我们.

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.

推荐答案

App Engine标准连接到Cloud Memorystore的问题是无法连接到特定的VPC(Memorystore实例与其网络对等).

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).

无服务器VPC访问有一个beta版本.来解决这个问题.

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

根据该文档的第一段:

使用无服务器VPC访问,您可以通过 App Engine应用直接连接到Compute Engine VM实例, Cloud Memorystore实例,Cloud SQL实例以及任何其他资源,内部IP地址.

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.

这篇关于App Engine标准第二代运行时的Memcache替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆