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: articles/azure-cache-for-redis/cache-best-practices-client-libraries.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ Each client maintains reference documentation for its own library, and provides
20
20
21
21
Microsoft and Azure Redis do recommend some libraries, based on popularity and whether there's an active online support community to answer questions. These libraries are under active development and often release new versions with reliability and performance improvements. Microsoft recommends using the latest available version, and upgrading regularly as new versions become available.
22
22
23
+
The following table lists links and documentation for some recommended client libraries.
@@ -62,15 +64,15 @@ Here are some recommended best practices for Redisson:
62
64
63
65
- Use Redisson 3.14.1 or higher. Older versions contain known connection leak issues that cause problems after failovers.
64
66
65
-
- Monitor the Redisson changelog for known issues that can affect features your application uses. 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).
67
+
- Monitor the Redisson changelog for known issues that can affect features your application uses. 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).
66
68
67
69
- If you don't want to use the *read from replica* strategy, modify the `readMode` config setting. Unlike some other clients, Redisson uses *read from replica* as the default.
68
70
69
71
- To reduce the risk of aggressive reconnect behaviors or *connection storms*, consider setting fewer minimum connections.
70
72
71
73
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 this risk, consider using fewer connections. You can efficiently pipeline commands or batches of commands over a few connections.
72
74
73
-
- Reset the idle connection timeout if necessary. Redisson has a default 10second idle connection timeout, which can lead to more closing and reopening of connections than ideal.
75
+
- Reset the idle connection timeout if necessary. Redisson has a default 10-second idle connection timeout, which can lead to more closing and reopening of connections than ideal.
74
76
75
77
- 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).
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-planning-faq.yml
+29-28Lines changed: 29 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -17,53 +17,54 @@ sections:
17
17
- name: Ignored
18
18
questions:
19
19
- question: |
20
-
How can I benchmark Azure Cache for Redis performance?
20
+
Azure Cache for Redis performance
21
21
answer: |
22
22
For guidance on how to benchmark Azure Redis cache performance and for sample benchmarking numbers, see [Performance testing](cache-best-practices-performance.md#example-performance-benchmark-data).
23
23
24
-
- question: |
25
-
In what region should I locate my cache?
26
-
answer: |
27
-
For best performance and lowest latency, locate your Azure Redis cache in the same Azure region as your cache client application.
28
-
29
-
- question: |
30
-
Where does my cached data reside?
31
-
answer: |
32
-
In Azure Cache for Redis, your application data is stored in the RAM of the virtual machine (VM) or VMs, depending on the tier, that host your cache. By default, your data resides in the Azure region you selected. There are two cases where your data might leave a region:
33
-
* When you enable data persistence on a Premium-tier cache, Azure Cache for Redis backs up your data to an Azure Storage account. If your storage account is in another region, or replicates data through [geo-redundant storage (GRS)](/azure/storage/common/storage-redundancy#redundancy-in-a-secondary-region) to a different region, a copy of your data ends up there. The Enterprise and Enterprise Flash tiers use on-disk persistence that's mounted directly to the VMs and doesn't leave the region.
34
-
* If you set up [passive geo-replication](cache-how-to-geo-replication.md) on a Premium-tier cache and your secondary cache is in a different region. as is typical, your data is replicated to that region.
35
-
If you set up [active geo-replication]() on an Enterprise or Enterprise Flash tier cache, your data is replicated to each cache in the geo-replication group. If caches in the geo-replication group reside in other regions, as is typical, your data is replicated to those regions.
36
-
37
-
>[!NOTE]
38
-
>The Enterprise Flash tier also stores data on an ephemeral NVMe flash disk. This disk is mounted to the cache instance VM and therefore resides in the same region as the instance.
39
-
40
-
You need to explicitly configure Azure Redis to use the preceding features. You also have complete control over the region where the storage account or secondary cache is located.
41
-
42
-
- question: |
43
-
How am I billed for Azure Redis?
44
-
answer: |
45
-
For Azure Redis pricing, see [Azure Cache for Redis pricing](https://azure.microsoft.com/pricing/details/cache/). The pricing page lists pricing as an hourly and monthly rate. Caches are billed on a per-minute basis. The period is measured from time a cache is created until the time that the cache is deleted. There's no option for stopping or pausing cache billing.
46
-
47
24
- question: |
48
25
Can I use Azure Redis with Azure Government Cloud or Azure operated by 21Vianet Cloud?
49
26
answer: |
50
-
Yes, the Basic, Standard, and Premium tiers of Azure Redis are available in Azure Government Cloud and Azure operated by 21Vianet Cloud. The URLs for accessing and managing Azure Redis are different in these clouds compared with the Azure Public cloud.
27
+
Yes, the Basic, Standard, and Premium tiers of Azure Redis are available in Azure Government Cloud and Azure operated by 21Vianet Cloud. The URLs for accessing and managing Azure Redis are different for these clouds than for the Azure Public cloud, as shown in the following table:
51
28
52
-
| Cloud | DNS Suffix for Redis |
29
+
| Cloud | Domain Name System (DNS) suffix for Redis |
53
30
|---------|---------------------------------|
54
31
| Public | *.redis.cache.windows.net |
55
32
| US Government | *.redis.cache.usgovcloudapi.net |
56
33
| China | *.redis.cache.chinacloudapi.cn |
57
34
58
-
For more information on considerations for using Azure Redis with other clouds, see the following links:
35
+
For other considerations about using Azure Redis with other clouds, see the following links:
59
36
60
37
- [Azure Government Databases](/azure/azure-government/compare-azure-government-global-azure)
61
38
- [Azure operated by 21Vianet Cloud](https://www.azure.cn/home/features/redis-cache/)
62
39
63
-
For information on using Azure Redis with PowerShell in Azure Government Cloud and Azure operated by 21Vianet Cloud, see [How to connect to other clouds - PowerShell](../redis/how-to-manage-redis-cache-powershell.md#how-to-connect-to-other-clouds).
40
+
For information about using Azure Redis with PowerShell in Azure Government Cloud and Azure operated by 21Vianet Cloud, see [How to connect to other clouds - PowerShell](../redis/how-to-manage-redis-cache-powershell.md#how-to-connect-to-other-clouds).
64
41
65
42
The Azure Redis Enterprise and Enterprise Flash tiers are available only in the Public cloud.
66
43
44
+
- question: |
45
+
How am I billed for Azure Redis?
46
+
answer: |
47
+
For details about Azure Redis billing, see [Azure Cache for Redis pricing](https://azure.microsoft.com/pricing/details/cache/). The pricing page lists pricing as an hourly and monthly rate. Caches are billed on a per-minute basis. The billing period is measured from time a cache is created until the time that the cache is deleted. There's no option for stopping or pausing cache billing.
48
+
49
+
- question: |
50
+
In what region should I locate my cache?
51
+
answer: |
52
+
For best performance and lowest latency, locate your Azure Redis cache in the same Azure region as your cache client application.
53
+
54
+
- question: |
55
+
Where does my cached data reside?
56
+
answer: |
57
+
In Azure Cache for Redis, your application data is stored in the RAM of the virtual machine (VM) or VMs, depending on the tier, that host your cache. By default, your data resides in the Azure region you selected. There are two cases where your data might leave a region:
58
+
* When you enable data persistence on a Premium-tier cache, Azure Cache for Redis backs up your data to an Azure Storage account. If your storage account is in another region, or replicates data through [geo-redundant storage (GRS)](/azure/storage/common/storage-redundancy#redundancy-in-a-secondary-region) to a different region, a copy of your data ends up there. The Enterprise and Enterprise Flash tiers use on-disk persistence mounted directly to the VMs and doesn't leave the region.
59
+
60
+
* If you set up [passive geo-replication](cache-how-to-geo-replication.md) on a Premium-tier cache and your secondary cache is in a different region, as is typical, your data is replicated to that region.
61
+
If you set up [active geo-replication]() on an Enterprise or Enterprise Flash tier cache, your data is replicated to each cache in the geo-replication group. If caches in the geo-replication group reside in other regions, as is typical, your data is replicated to those regions.
62
+
63
+
>[!NOTE]
64
+
>The Enterprise Flash tier also stores data on an ephemeral NVMe flash disk. This disk is mounted to the cache instance VM and therefore resides in the same region as the instance.
65
+
66
+
You need to explicitly configure Azure Redis to use the preceding features. You also have complete control over the region where the storage account or secondary cache is located.
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-tls-configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ To enable the non-TLS port:
54
54
1. On the **Advanced settings** page, select **No** under **Allow access only via SSL**.
55
55
1. Select **Save**.
56
56
57
-
For more information, see [Access ports](cache-configure.md#access-ports):
57
+
For more information, see [Access ports](cache-configure.md#access-ports).
58
58
59
59
In clustered caches, TLS-enabled caches use ports in the `150XX` range, while non-TLS caches use ports in the `130XX` range. For more information, see [Can I directly connect to the individual shards of my cache?](cache-how-to-scale.md#can-i-directly-connect-to-the-individual-shards-of-my-cache)
0 commit comments