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: content/operate/rc/databases/configuration/sizing.md
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ We use this setting to guide the allocation of compute power and network bandwid
40
40
41
41
### Throughput factors and variability
42
42
43
-
The following factors can affect your database's throughput:
43
+
Some factors that can affect throughput include:
44
44
-**Request size**: Smaller requests (under 3KB) consume less network bandwidth and may result in more operations per second than requested, while larger requests may result in fewer operations per second.
45
45
-**Command complexity**: Simple commands, like `GET` and `SET`, are faster and require fewer resources, whereas more complex commands involve more processing time and can reduce throughput.
46
46
-**Replication**: Using [multi-zone replication]({{< relref "/operate/rc/databases/configuration/high-availability" >}}) affects throughput as each write operation is executed asynchronously in each zone.
@@ -53,30 +53,29 @@ Here are some things to keep in mind for optimizing throughput:
53
53
- Optimize capacity planning and sizing of your Redis Cloud databases to meet your app performance requirements.
54
54
- Benchmark your app to understand what latency expectations are required, and adjust throughput accordingly.
55
55
- Test and monitor your app's performance and adjust the set ops/sec based on how if performs in real-world conditions.
56
-
- If your average request size is larger than 3KB, set your throughput higher than expected.
57
-
- If you consistently notice that throughput is higher than expected, consider lowering your set ops/sec to reduce costs.
56
+
- If your average request size is larger than 3KB, consider setting your throughput higher than expected.
58
57
- Track the slow logs using the [`SLOWLOG` command]({{< relref "/commands/slowlog" >}}) or the **Slowlog** tab on the [database screen]({{< relref "/operate/rc/databases/view-edit-database" >}}).
59
58
- Use [pipelining]({{< relref "/develop/use/pipelining" >}}) and [concurrent connections]({{< relref "/develop/reference/clients" >}}) effectively to optimize throughput and latency.
60
59
- Search databases have their own throughput requirements. See [Search and query sizing]({{< relref "/operate/rc/databases/configuration/advanced-capabilities#search-and-query-sizing" >}}) for more info.
61
60
62
61
### Frequently asked questions
63
62
64
-
#### Can my workload exceed the configured throughput?
63
+
**Can my workload exceed the configured throughput?**
65
64
66
65
Yes, many workloads perform better than expected, especially with optimized configurations and ideal conditions.
67
66
68
-
#### Why is my application getting less throughput than what I set?
67
+
**Why is my application getting less throughput than what I set?**
69
68
70
69
Factors like high connection counts, complex commands, large payloads, and network limitations can affect throughput. Test and adjust based on your application’s needs.
71
70
72
-
#### How do I know the optimal throughput for my application?
71
+
**How do I know the optimal throughput for my application?**
73
72
74
73
Start with the expected ops/sec. Most of the time, it’s more than enough. For an average request size of less than 3KB, we suggest specifying lower ops/sec than expected to reduce costs. For request sizes higher than 3 KB, we suggest specifying higher ops/sec than your target. Benchmarking your application under production-like conditions will help you find the best configuration.
75
74
76
-
#### How does network bandwidth impact throughput?
75
+
**How does network bandwidth impact throughput?**
77
76
78
-
Insufficient bandwidth can bottleneck performance, especially with large request sizes. Ensure your network setup supports your workload demands.
77
+
Insufficient bandwidth can bottleneck performance, especially with large request sizes.
79
78
80
-
#### What is the expected latency for my application?
79
+
**What is the expected latency for my application?**
81
80
82
81
Latency expectations vary by use case. Some applications tolerate milliseconds, while others require sub-millisecond performance. Benchmark your application to understand its latency profile.
0 commit comments