Memorystore for Redis 常见问题解答
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
标准层级 Redis 实例完成故障切换需要多长时间?
通常需要大约 30 秒才能完成故障切换。
Memorystore for Redis 的基本层级和标准层级有什么区别?
标准层级实例通过副本提供高可用性 (HA)。如果进行日常维护、扩缩或发生实例故障,主缓存会向副本进行故障转移,从而保留您的数据。基本层级实例是一个独立缓存,用于可承受冷重启/完全清空数据的应用。如需了解详情,请参阅 Redis 层级功能。
Memorystore for Redis 是否提供横向扩缩集群?
否。Memorystore for Redis 基本层级和标准层级都使用单个主节点来存储所有 Redis 数据。
标准层级提供了一个副本节点,用于备份数据以实现高可用性。
我是否可以使用客户端库页面上未列出的客户端库?
会。Memorystore for Redis 与适用于 Redis 的任何客户端库都兼容。如需查看不同客户端库设置的示例,请参阅适用于 Compute Engine 的 Redis 示例应用和适用于 Kubernetes 的 Redis 示例应用。
我可以使用共享 VPC 吗?
可以,Memorystore for Redis 支持共享 VPC。如需了解详情,请参阅网络。
我是否可以使用 App Engine 标准环境连接到 Redis 实例?
可以,但首先您需要将 App Engine 标准环境连接到 VPC 网络。
我是否可以使用 Cloud Functions 连接到 Redis 实例?
可以,但首先需要将 Cloud Functions 连接到您的 VPC 网络。
Memorystore for Redis 是否使用开源 Redis(又称为 OSS Redis)?
可以。Memorystore for Redis 使用开源 Redis。
目前支持哪个版本的 Redis?
如需查看受支持的 Redis 版本的列表,请参阅当前版本。
gcloud redis
无法在命令行上运行。为什么?
您可能安装了较旧版本的 gcloud
。尝试运行 gcloud
components update
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-08-14。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]