如未另行说明,那么本页面中的内容已根据知识共享署名 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):2025-09-04。
[[["易于理解","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):2025-09-04。"],[],[],null,["# Memorystore for Redis Cluster overview\n\nMemorystore for Redis Cluster is a fully managed Redis service for Google Cloud. Applications\nrunning on Google Cloud can achieve extreme performance by leveraging the highly\nscalable, available, secure Redis service without the burden of managing complex\nRedis deployments.\n\nKey concepts and terms\n----------------------\n\n### Hierarchical resource structure\n\nMemorystore for Redis Cluster gathers the various resources used in a Redis deployment\ninto a hierarchical structure that simplifies administration and management.\nHere is a diagram that illustrates this structure:\n\nMemorystore for Redis Cluster instances are composed of a set of shards, each\ncontaining a subset of your key space. Each shard in a Memorystore\ncluster is composed of one primary node, and optionally up to two replica nodes.\nWhen replica nodes are added, Memorystore automatically\ndistributes the nodes of a shard across zones to provide higher availability and\nthroughput.\n\n### Instances\n\nA Memorystore for Redis Cluster instance is a container for your data. The terms\n*instance* and *cluster* can be used interchangeably when referring to a single\nMemorystore for Redis Cluster unit of deployment. When provisioning a\nMemorystore instance, you must provision enough shards to serve the\nkeyspace of your entire application.\n\nFor details about Memorystore cluster specification, see [Cluster and node specification](/memorystore/docs/cluster/cluster-node-specification).\n\n### Shards\n\nYour cluster is composed of multiple equally sized shards. For details about\nMemorystore shard specification, see [Cluster and node specification](/memorystore/docs/cluster/cluster-node-specification).\n\n### Primary and replica nodes\n\nThere is one primary node per shard. Each shard can have 0, 1, or 2 replica\nnodes. Replicas provide high availability and additional read throughput, and\nare evenly distributed across zones.\n\nFor more details see [High availability and replicas](/memorystore/docs/cluster/ha-read-replicas).\n\n### Redis version\n\nMemorystore for Redis Cluster is based on open-source [Redis version 7.x](https://github.com/redis/redis/blob/7.0/00-RELEASENOTES) and supports a [subset of the\ntotal Redis command library](/memorystore/docs/cluster/supported-commands).\n\nCluster endpoints\n-----------------\n\nEach instance has a discovery endpoint to which your client connects. Your\nclient also uses the discovery endpoint for cluster node discovery. For more\ninformation, see [Cluster endpoints](/memorystore/docs/cluster/cluster-node-specification#cluster_endpoints).\n\nNetworking prerequisites\n------------------------\n\nBefore you can create a Memorystore for Redis Cluster instance, you must set up\n[Networking](/memorystore/docs/cluster/networking) for your project.\n\nBilling\n-------\n\nSee the [Pricing](/memorystore/docs/cluster/pricing) page for information on\npricing for available regions."]]