【问题标题】:Memcache alternatives for App Engine Standard second generation runtimesApp Engine Standard 第二代运行时的 Memcache 替代方案
【发布时间】:2019-04-10 09:59:02
【问题描述】:

Google 已发布其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】:

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

    Serverless VPC access 有一个测试版来解决这个问题。

    根据该文档的第一段:

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

    【讨论】:

    • 所以 Google 现在正在为缓存服务和该服务的连接器收费?与第一代运行时相比,这是一个巨大的倒退,在第一代运行时,memcache 服务无需配置且完全免费即可使用。
    • 我猜想使用 Cloud Memorystore 更类似于 Dedicated Memcache(每 GB 每小时 0.06 美元),而不是 Shared Memcache(免费的)。此外,如果您使用 f1-micro 等效实例似乎可以进入free tier
    猜你喜欢
    • 2012-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-21
    • 1970-01-01
    相关资源
    最近更新 更多