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: README.md
+103-1
Original file line number
Diff line number
Diff line change
@@ -181,4 +181,106 @@ Throughput summary: 274843 requests per second
181
181
Latency summary (msec):
182
182
p50 p95 p99
183
183
0.162 0.372 0.460
184
-
```
184
+
```
185
+
186
+
# Client side Caching benchmark
187
+
188
+
Client side caching was introduced in [version v1.0.0](https://github.com/redis-performance/redis-benchmark-go/releases/tag/v1.0.0) of this tool and requires the usage of the rueidis vanilla client.
189
+
This means that for using CSC you need to use a minimum of 2 extra flags on your benchmark, namely `-rueidis -csc`.
190
+
191
+
Bellow you can find all flags that control CSC behaviour:
192
+
193
+
```
194
+
-csc
195
+
Enable client side caching
196
+
-csc-per-client-bytes int
197
+
client side cache size that bind to each TCP connection to a single redis instance (default 134217728)
198
+
-csc-ttl duration
199
+
Client side cache ttl for cached entries (default 1m0s)
0 commit comments