App Engine标准第二代运行时的Memcache替代方案

问题描述 投票:3回答:1

谷歌发布了他们的second generation runtimes for App Engine Standard的一般可用版本,包括Node.js 10,Go 1.11和PHP 7.2。

第一代运行时包括一个已在第二代运行时删除的Memcache服务recommending developers to use an external provider like Redis Lab Cloud,这是一种在欧洲西部地区不可用的服务。 Cloud Memorystore将不是even accessible from App Engine Standard

在新的运行时中是否还有其他替代Memcache的替代方法?我们的系统在很大程度上依赖于该服务,虽然我们渴望从PHP 5迁移到7但缺乏可靠而快速的缓存系统正在阻止我们。

google-app-engine google-cloud-platform
1个回答
3
投票

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

有一个beta版本的Serverless VPC access来解决这个问题。

根据该文件的第一段:

使用无服务器VPC访问,您可以从App Engine应用程序直接连接到Compute Engine VM实例,Cloud Memorystore实例,Cloud SQL实例以及具有内部IP地址的任何其他资源。

© www.soinside.com 2019 - 2024. All rights reserved.