Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
发送反馈
Memorystore for Redis Cluster 概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Memorystore for Redis Cluster 是 Google Cloud 的一种全代管式 Redis 服务。通过利用具有高伸缩能力、高可用性且高度安全的 Redis 服务,在 Google Cloud 上运行的应用可实现卓越性能,且不必管理复杂的 Redis 部署。
主要概念和术语
分层资源结构
Memorystore for Redis Cluster 会将 Redis 部署中使用的各种资源整合到一个分层结构中,从而简化管理和维护工作。
下图说明了此结构:
Memorystore for Redis 集群实例由一组分片组成,每个分片都包含部分键空间。Memorystore 集群中的每个分片都由一个主节点组成,还可以选择性地包含最多五个副本节点。添加副本节点后,Memorystore 会自动将分片的节点分布到各个可用区,以提供更高的可用性和吞吐量。
实例
Memorystore for Redis Cluster 实例是数据的容器。在指单个 Memorystore for Redis Cluster 部署单元时,实例 和集群 这两个术语可以互换使用。在预配 Memorystore 实例时,您必须预配足够的分片来为整个应用的键空间提供服务。
如需详细了解 Memorystore 集群规范,请参阅集群和节点规范 。
分片
您的集群由多个大小相等的分片组成。如需详细了解 Memorystore 分片规范,请参阅集群和节点规范 。
主节点和副本节点
每个分片都有一个主节点。每个分片可以有 0-5 个副本节点。副本可提供高可用性和额外的读取吞吐量,并均匀分布在各个可用区中。
如需了解详情,请参阅高可用性和副本 。
Redis 版本
Memorystore for Redis Cluster 基于开源 Redis 7.x 版 ,并支持 Redis 命令库的子集 。
集群端点
每个实例都有一个发现端点,您的客户端会连接到该端点。您的客户端还使用发现端点进行集群节点发现。如需了解详情,请参阅集群端点 。
网络前提条件
在创建 Memorystore for Redis Cluster 实例之前,您必须为项目设置网络 。
结算
如需了解可用区域的价格,请参阅价格 页面。
发送反馈
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可 获得了许可,并且代码示例已根据 Apache 2.0 许可 获得了许可。有关详情,请参阅 Google 开发者网站政策 。Java 是 Oracle 和/或其关联公司的注册商标。 Redis is a trademark of Redis Ltd. All rights therein are reserved to Redis Ltd. Any use by Google is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and Google. Memorystore is based on and is compatible with open-source Redis versions 7.2 and earlier and supports a subset of the total Redis command library.
最后更新时间 (UTC):2026-05-21。
需要向我们提供更多信息?
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-05-21。"],[],[]]