Skip to content

Commit 52a4c9b

Browse files
Merge pull request #294222 from flang-msft/fxl---remove-external-gist-reference
fxl---Removed old link
2 parents b9a8f6f + bbcb8e5 commit 52a4c9b

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

articles/azure-cache-for-redis/cache-best-practices-client-libraries.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: Learn about client libraries for Azure Cache for Redis.
44

55

66
ms.topic: conceptual
7-
ms.date: 01/04/2022
7+
ms.date: 02/06/2025
88
ms.custom: devx-track-java, devx-track-javaee, devx-track-javaee-liberty, devx-track-javaee-liberty-aks, devx-track-extended-java, ignite-2024
99
---
1010

1111
# Client libraries
1212

13-
Azure Cache for Redis is based on the popular open-source in-memory data store, open-source Redis. Azure Cache for Redis can be accessed by a wide variety of Redis clients for many programming languages. Each client library has its own API that makes calls to Redis server using Redis commands, but the client libraries are built to talk to any Redis server.
13+
Azure Cache for Redis is based on the popular open-source in-memory data store, open-source Redis. Redis clients for many programming languages can access Azure Managed Redis. Each client library has its own API that makes calls to Redis server using Redis commands, but the client libraries are built to talk to any Redis server.
1414

1515
Each client maintains its own reference documentation for its library. The clients also provide links to get support through the client library developer community. The Azure Cache for Redis team doesn't own the development, or the support for any client libraries.
1616

@@ -33,7 +33,6 @@ Although we don't own or support any client libraries, we do recommend some libr
3333
For information on client library-specific guidance best practices, see the following links:
3434

3535
- [StackExchange.Redis (.NET)](cache-best-practices-connection.md#using-forcereconnect-with-stackexchangeredis)
36-
- [Java - Which client should I use?](https://gist.github.com/warrenzhu25/1beb02a09b6afd41dff2c27c53918ce7#file-azure-redis-java-best-practices-md)
3736
- [Lettuce (Java)](https://github.com/Azure/AzureCacheForRedis/blob/main/Lettuce%20Best%20Practices.md)
3837
- [Jedis (Java)](https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-java-jedis-md)
3938
- [Redisson (Java)](cache-best-practices-client-libraries.md#redisson-java)
@@ -48,9 +47,9 @@ We _recommend_ you use redisson 3.14.1 or higher. Older versions contain known
4847

4948
Other notes:
5049

51-
- Redisson defaults to 'read from replica' strategy, unlike some other clients. To change this, modify the 'readMode' config setting.
52-
- 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.
53-
- Redisson has a default idle connection timeout of 10 seconds, which leads to more closing and reopening of connections than ideal.
50+
- Redisson defaults to 'read from replica' strategy, unlike some other clients. To change this default, modify the 'readMode' config setting.
51+
- 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.
52+
- Redisson has a default idle connection time out of 10 seconds, which leads to more closing and reopening of connections than ideal.
5453

5554
Here's a recommended baseline configuration for cluster mode that you can modify as needed:
5655

@@ -83,7 +82,7 @@ clusterServersConfig:
8382
tcpNoDelay: true
8483
```
8584
86-
For an article demonstrating how to use Redisson's support for JCache as the store for HTTP session state in IBM Liberty on Azure, see [Use Java EE JCache with Open Liberty or WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster](/azure/developer/java/ee/how-to-deploy-java-liberty-jcache).
85+
For an article about Redisson's support for JCache as the store for HTTP session state in IBM Liberty on Azure, see [Use Java EE JCache with Open Liberty or WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster](/azure/developer/java/ee/how-to-deploy-java-liberty-jcache).
8786
8887
## How to use client libraries
8988

articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-client-libraries.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ description: Learn about client libraries for Azure Managed Redis.
44

55
ms.service: azure-managed-redis
66
ms.topic: conceptual
7-
ms.date: 11/15/2024
7+
ms.date: 02/06/2025
88
ms.custom: devx-track-java, devx-track-javaee, devx-track-javaee-liberty, devx-track-javaee-liberty-aks, devx-track-extended-java, ignite-2024
99
---
1010

1111
# Azure Managed Redis (preview) Client libraries
1212

13-
Azure Managed Redis (preview) is based on the popular in-memory data store, Redis. Azure Managed Redis can be accessed by a wide variety of Redis clients for many programming languages. Each client library has its own API that makes calls to Redis server using Redis commands, but the client libraries are built to talk to any Redis server.
13+
Azure Managed Redis (preview) is based on the popular in-memory data store, Redis. Redis clients for many programming languages can access Azure Managed Redis. Each client library has its own API that makes calls to Redis server using Redis commands, but the client libraries are built to talk to any Redis server.
1414

1515
Each client library maintains its own reference documentation. The libraries also provide links to get support through the client library developer community. The Azure Managed Redis team doesn't own the development, or the support for any client libraries.
1616

17-
Recommendations below are based on popularity and whether there's an active online community to support and answer your questions. We only recommend using the latest available version, and upgrading regularly as new versions become available. These libraries are under active development and often release new versions with improvements to reliability and performance.
17+
The following recommendations are based on popularity and whether there's an active online community to support and answer your questions. We only recommend using the latest available version, and upgrading regularly as new versions become available. These libraries are under active development and often release new versions with improvements to reliability and performance.
1818

1919
| **Client library** | **Language** | **GitHub** **repo** | **Documentation** |
2020
|---------------------------|--------------|---------------------------------------------------------------------|--------------------------------------------------------------------------------------|
@@ -31,12 +31,12 @@ Recommendations below are based on popularity and whether there's an active onli
3131
## Choosing the right client library based on your clustering policy
3232

3333
Azure Managed Redis supports the Enterprise clustering policy and the OSS clustering policy. See more information here (add link to clustering policy information).
34-
All client libraries work with your Redis instance with Enterprise clustering policy. However, if you are using the OSS clustering policy, ensure that the client library you choose supports connecting to clustered Redis instances.
34+
35+
All client libraries work with your Redis instance with Enterprise clustering policy. However, if you're using the OSS clustering policy, ensure that the client library you choose supports connecting to clustered Redis instances.
3536

3637
## Blocked commands
3738

38-
Configuration and management of Azure Managed Redis instances is managed by Microsoft, which disables the following commands by default.
39-
For more information on blocked commands, see [Cluster management commands compatibility](https://redis.io/docs/latest/operate/rs/references/compatibility/commands/cluster/)
39+
Microsoft manages the configuration and management of Azure Managed Redis instances, which disables the following commands by default. For more information on blocked commands, see [Cluster management commands compatibility](https://redis.io/docs/latest/operate/rs/references/compatibility/commands/cluster/)
4040

4141
### Multi-key commands
4242

@@ -47,22 +47,23 @@ You might also see `CROSSSLOT` errors with Enterprise clustering policy. Only th
4747
In Active-Active databases, multi-key write commands (`DEL`, `MSET`, `UNLINK`) can only be run on keys that are in the same slot. However, the following multi-key commands are allowed across slots in Active-Active databases: `MGET`, `EXISTS`, and `TOUCH`. For more information, see [Database clustering](https://redis.io/docs/latest/operate/rs/databases/durability-ha/clustering/#multikey-operations).
4848

4949
### Commands blocked for Enterprise clustering policy
50-
* CLUSTER INFO
51-
* CLUSTER HELP
52-
* CLUSTER KEYSLOT
53-
* CLUSTER NODES
54-
* CLUSTER SLOTS
50+
51+
- CLUSTER INFO
52+
- CLUSTER HELP
53+
- CLUSTER KEYSLOT
54+
- CLUSTER NODES
55+
- CLUSTER SLOTS
5556

5657
### Commands blocked for active geo-replication
57-
* FLUSHALL
58-
* FLUSHDB
58+
59+
- FLUSHALL
60+
- FLUSHDB
5961

6062
## Client library-specific guidance
6163

6264
For information on client library-specific guidance best practices, see the following links:
6365

6466
- [StackExchange.Redis (.NET)](../cache-best-practices-connection.md#using-forcereconnect-with-stackexchangeredis)
65-
- [Java - Which client should I use?](https://gist.github.com/warrenzhu25/1beb02a09b6afd41dff2c27c53918ce7#file-azure-redis-java-best-practices-md)
6667
- [Lettuce (Java)](https://github.com/Azure/AzureCacheForRedis/blob/main/Lettuce%20Best%20Practices.md)
6768
- [Jedis (Java)](https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-java-jedis-md)
6869
- [Redisson (Java)](../cache-best-practices-client-libraries.md#redisson-java)
@@ -77,9 +78,9 @@ We _recommend_ you use redisson 3.14.1 or higher. Older versions contain known
7778

7879
Other notes:
7980

80-
- Redisson defaults to 'read from replica' strategy, unlike some other clients. To change this, modify the 'readMode' config setting.
81-
- 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.
82-
- Redisson has a default idle connection timeout of 10 seconds, which leads to more closing and reopening of connections than ideal.
81+
- Redisson defaults to 'read from replica' strategy, unlike some other clients. To change this default, modify the 'readMode' config setting.
82+
- 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.
83+
- Redisson has a default idle connection time-out of 10 seconds, which leads to more closing and reopening of connections than ideal.
8384

8485
Here's a recommended baseline configuration for cluster mode that you can modify as needed:
8586

@@ -112,7 +113,7 @@ clusterServersConfig:
112113
tcpNoDelay: true
113114
```
114115
115-
For an article demonstrating how to use Redisson's support for JCache as the store for HTTP session state in IBM Liberty on Azure, see [Use Java EE JCache with Open Liberty or WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster](/azure/developer/java/ee/how-to-deploy-java-liberty-jcache).
116+
For an article about Redisson's support for JCache as the store for HTTP session state in IBM Liberty on Azure, see [Use Java EE JCache with Open Liberty or WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster](/azure/developer/java/ee/how-to-deploy-java-liberty-jcache).
116117
117118
## How to use client libraries
118119

0 commit comments

Comments
 (0)