【问题标题】:How to install Redis Slave on App Engine Flex如何在 App Engine Flex 上安装 Redis Slave
【发布时间】:2019-07-30 13:07:13
【问题描述】:

我在 App Engine Flex 上部署了一个 .Net 核心应用。我的 App Engine Flex 配置为 Auto Scaling。我的应用正在使用 Memorystore Redis。我希望每个实例都有自己的 Redis Slave(Memorystore Redis 将成为主实例),以便每个实例都可以从其本地 Redis 实例中读取,这将提高应用程序的性能。我正在使用来自https://github.com/docker-library/redis/blob/ede954da6de61f1d6a8572db4cd7bdf1278a2815/4.0/Dockerfile的引用

如何在 App Engine Flex 上安装和运行 Redis Slave?

谢谢,

【问题讨论】:

    标签: google-app-engine google-cloud-platform google-cloud-memorystore


    【解决方案1】:

    Google 提供了一些教程,可以帮助您完成所需的工作。以下内容可能会为您提供所需的信息:

    1. Connecting to a Redis instance from an App Engine Flexible Environment application
    2. Connect to Redis from Node.js on App Engine flexible environment

    我还建议您查看High availability documentationOverview of Cloud Memorystore for Redis documentation,了解有关正确配置 Redis 以实现 Memorystore 高可用性的更多信息。


    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-01-07
      • 2011-08-26
      • 1970-01-01
      • 2016-05-23
      • 2018-02-10
      • 2018-04-29
      • 2020-08-02
      • 1970-01-01
      相关资源
      最近更新 更多