You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/products/valkey/concepts/valkey-cluster.md
+27-20Lines changed: 27 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@ import RelatedPages from "@site/src/components/RelatedPages";
7
7
8
8
Aiven for Valkey™ clustering provides a managed, scalable solution for distributed in-memory data storage with built-in high availability and automatic failover capabilities.
9
9
10
-
## What is Valkey clustering?
11
-
12
10
Valkey clustering distributes your data across multiple nodes (shards) to handle larger
13
11
datasets and higher traffic loads than a single-node deployment can support. Each shard
14
12
contains a portion of your data, and the cluster automatically routes requests to the
@@ -19,16 +17,14 @@ appropriate shard.
19
17
### High availability
20
18
21
19
-**Automatic failover**: If a primary node fails, a replica is automatically promoted to
22
-
maintain service availability
23
-
-**Read replicas**: Each shard includes at least one read replica for redundancy and
24
-
improved read performance
20
+
maintain service availability.
25
21
-**Minimal downtime**: Designed to handle both expected maintenance and unexpected
26
22
failures with minimal service interruption
23
+
-**Read replicas**: Each shard includes at least one read replica for redundancy and
24
+
improved read performance.
27
25
28
26
### Scalability
29
27
30
-
-**Horizontal scaling**: Add or remove nodes to handle changing workload requirements
31
-
-**Online resharding**: Increase the number of shards without downtime as your data grows
32
28
-**Flexible sizing**: Supports various instance sizes, including smaller 4 GB RAM
33
29
instances for cost optimization
34
30
@@ -40,18 +36,25 @@ appropriate shard.
40
36
41
37
## Architecture overview
42
38
43
-
### Single shard deployment
44
-
45
-
-**Initial configuration**: Starts with one primary node and two read replicas
46
-
-**Use case**: Ideal for smaller datasets or applications with moderate traffic
47
-
-**High availability**: Automatic failover to replicas if the primary fails
48
-
49
39
### Multi-shard deployment
50
40
41
+
The typical cluster deployment consists of [three primary nodes](/docs/products/valkey/concepts/valkey-cluster#multi-shard-deployment),
42
+
each with at least one replica, providing true high availability and scalability.
43
+
51
44
-**Distributed data**: Data is automatically partitioned across multiple shards
52
45
-**Independent replicas**: Each shard has its own set of replicas for redundancy
53
46
-**Load distribution**: Requests are distributed across shards based on data location
54
47
48
+
### Single-shard deployment
49
+
50
+
While Aiven for Valkey supports [single-node clusters](/docs/products/valkey/concepts/valkey-cluster#single-shard-deployment),
51
+
this configuration is functionally equivalent to a standalone Valkey instance and is not
52
+
the primary use case for clustering.
53
+
54
+
-**Initial configuration**: Starts with one primary node and two read replicas
55
+
-**Use case**: Ideal for smaller datasets or applications with moderate traffic
56
+
-**High availability**: Automatic failover to replicas if the primary fails
57
+
55
58
## Benefits
56
59
57
60
### Performance
@@ -62,8 +65,9 @@ appropriate shard.
62
65
63
66
### Reliability
64
67
65
-
-**Fault tolerance**: Service continues even if individual nodes fail
66
-
-**Automatic recovery**: Failed nodes are automatically replaced and synchronized
68
+
-**Fault tolerance**: With replicas configured, a service continues even if individual
69
+
nodes fail.
70
+
-**Automatic recovery**: Failed nodes are automatically replaced and synchronized.
67
71
-**Data protection**: Multiple copies of your data across different nodes
68
72
69
73
### Operational simplicity
@@ -84,7 +88,7 @@ appropriate shard.
84
88
85
89
- Data that exceeds the memory capacity of a single node
86
90
- Applications requiring data partitioning for performance optimization
87
-
- Systems that need to scale storage capacity horizontally
91
+
- Systems that need to scale storage capacity
88
92
89
93
### Mission-critical systems
90
94
@@ -113,8 +117,11 @@ appropriate shard.
113
117
114
118
### Current scope
115
119
116
-
- Backup and restore capabilities are planned for future releases
117
-
- Some advanced features may have initial limitations during the preview phase
120
+
The following are planned for future releases:
121
+
122
+
- Backup and restore
123
+
- Online resharding
124
+
- Horizontal scaling
118
125
119
126
### Performance factors
120
127
@@ -125,5 +132,5 @@ appropriate shard.
125
132
<RelatedPages/>
126
133
127
134
-[Get started with Aiven for Valkey](/docs/products/valkey/get-started)
0 commit comments