适用于 App Engine 标准环境的 Memcache

Memcache for App Engine standard environment

我正在将我的 Python 2.7 App Engine 迁移到 App Engine 3.7 运行时(标准环境)。

我注意到 Google 的 documentation 建议使用像 Redis Labs Cloud 这样的第三方服务来替代 Memcache。

The Memcache service is not available in Python 3. If you need access to a hosted caching service, you can use a third party memcache service like Redis Labs Cloud.

他们有什么理由不为此推荐他们自己的 Cloud Memorystore?

根据我从其他 SO 帖子 and 中看到的情况,听起来它直到最近才在标准环境中工作。所以这可能只是从他们的原始文档发布到现在的时间问题。

, at this moment, to make Cloud Memorystore work with App Engine standard 2nd gen runtimes, you'll need to use VPC connectors所述。

但是,VPC 连接器仍在 beta

由于测试版产品没有 SLA 和技术支持义务,因此通常不建议在生产环境中使用。

我猜他们会等到 VPC 连接器正式发布后才会推荐 Cloud Memorystore 作为 Memcache 的替代品。

此外,这可能只是一个疏忽。您可能应该提供反馈(在文档页面的右上角)提及这一点。