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
-[ASP.NET Session State Provider](https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-session-state-provider-md)
46
46
47
-
## redisson (Java)
47
+
## Redisson (Java)
48
48
49
-
It is *strongly recommended* to use redisson 3.14.1 or higher. Older versions contain known connection leak issues which cause problems after failovers. Do monitor the redisson changelog for other known issues which may impact features used by your application[Link](https://github.com/redisson/redisson/blob/master/CHANGELOG.md)See also the redisson FAQ[Link](https://github.com/redisson/redisson/wiki/16.-FAQ)
49
+
We *recommend* you use redisson 3.14.1 or higher. Older versions contain known connection leak issues that cause problems after failovers. Monitor the Redisson changelog for other known issues can affect features used by your application. For more information, see[`CHANGELOG`](https://github.com/redisson/redisson/blob/master/CHANGELOG.md)and the [Redisson FAQ](https://github.com/redisson/redisson/wiki/16.-FAQ).
50
50
51
-
Other notes:
52
-
* redisson defaults to 'read from replica' strategy, unlike some other clients. To change this, modify the 'readMode' config setting.
53
-
* redisson has a connection pooling strategy with configurable minimum and maximum settings, and the default minimum values are quite big. Which could contribute to more aggressive reconnect behaviors or 'connection storms'. To reduce the risk, consider using less connections, because you can efficiently pipeline commands, or batches of commands, over a small number of connections.
54
-
* redisson has a default idle connection timeout of 10 seconds, which leads to more closing and reopening of connections than is ideal
51
+
Other notes:
55
52
56
-
A recommended baseline configuration for cluster mode, which you can modfiy as needed, is:
53
+
* Redisson defaults to 'read from replica' strategy, unlike some other clients. To change this, modify the 'readMode' config setting.
54
+
* Redisson has a connection pooling strategy with configurable minimum and maximum settings, and the default minimum values are large. The large defaults could contribute to aggressive reconnect behaviors or 'connection storms'. To reduce the risk, consider using fewer connections because you can efficiently pipeline commands, or batches of commands, over a few connections.
55
+
* Redisson has a default idle connection timeout of 10 seconds, which leads to more closing and reopening of connections than ideal.
57
56
58
-
```
57
+
Here's a recommended baseline configuration for cluster mode that you can modify as needed:
58
+
59
+
```json
59
60
clusterServersConfig:
60
61
idleConnectionTimeout: 30000
61
62
connectTimeout: 15000
@@ -85,7 +86,7 @@ clusterServersConfig:
85
86
86
87
## How to use client libraries
87
88
88
-
Besides the reference documentation, you can find tutorials showing how to get started with Azure Cache for Redis using different languages and cache clients.
89
+
Besides the reference documentation, you can find tutorials showing how to get started with Azure Cache for Redis using different languages and cache clients.
89
90
90
91
For more information on using some of these client libraries in tutorials, see the following articles:
0 commit comments