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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -301,7 +301,7 @@ func main() {
301
301
302
302
### Buffer Size Configuration
303
303
304
-
go-redis uses 0.5MiB read and write buffers by default for optimal performance. For high-throughput applications or large pipelines, you can customize buffer sizes:
304
+
go-redis uses 32KiB read and write buffers by default for optimal performance. For high-throughput applications or large pipelines, you can customize buffer sizes:
305
305
306
306
```go
307
307
rdb:= redis.NewClient(&redis.Options{
@@ -376,7 +376,7 @@ You can find further details in the [query dialect documentation](https://redis.
376
376
377
377
#### Custom buffer sizes
378
378
Prior to v9.12, the buffer size was the default go value of 4096 bytes. Starting from v9.12,
379
-
go-redis uses 256KiB read and write buffers by default for optimal performance.
379
+
go-redis uses 32KiB read and write buffers by default for optimal performance.
380
380
For high-throughput applications or large pipelines, you can customize buffer sizes:
0 commit comments