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
-[Customizable read and write buffers size.](#custom-buffer-sizes)
80
82
81
83
## Installation
82
84
@@ -372,6 +374,21 @@ For example:
372
374
```
373
375
You can find further details in the [query dialect documentation](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/dialects/).
374
376
377
+
#### Custom buffer sizes
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.
380
+
For high-throughput applications or large pipelines, you can customize buffer sizes:
**Important**: If you experience any issues with the default buffer sizes, please try setting them to the go default of 4096 bytes.
391
+
375
392
## Contributing
376
393
We welcome contributions to the go-redis library! If you have a bug fix, feature request, or improvement, please open an issue or pull request on GitHub.
377
394
We appreciate your help in making go-redis better for everyone.
0 commit comments