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
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ In `go-redis` we are aiming to support the last three releases of Redis. Current
20
20
-[Redis 7.2](https://raw.githubusercontent.com/redis/redis/7.2/00-RELEASENOTES) - using Redis Stack 7.2 for modules support
21
21
-[Redis 7.4](https://raw.githubusercontent.com/redis/redis/7.4/00-RELEASENOTES) - using Redis Stack 7.4 for modules support
22
22
-[Redis 8.0](https://raw.githubusercontent.com/redis/redis/8.0/00-RELEASENOTES) - using Redis CE 8.0 where modules are included
23
+
-[Redis 8.2](https://raw.githubusercontent.com/redis/redis/8.2/00-RELEASENOTES) - using Redis CE 8.2 where modules are included
23
24
24
25
Although the `go.mod` states it requires at minimum `go 1.18`, our CI is configured to run the tests against all three
25
26
versions of Redis and latest two versions of Go ([1.23](https://go.dev/doc/devel/release#go1.23.0),
@@ -77,6 +78,7 @@ key value NoSQL database that uses RocksDB as storage engine and is compatible w
-[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