Skip to content

Commit 0a756e8

Browse files
committed
edits
1 parent 60dd382 commit 0a756e8

File tree

3 files changed

+34
-31
lines changed

3 files changed

+34
-31
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Each client maintains reference documentation for its own library, and provides
2020

2121
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.
2222

23+
The following table lists links and documentation for some recommended client libraries.
24+
2325
| **Client library** | **Language** | **GitHub repo** | **Documentation**|
2426
| --------------------|------------- |-------------------------------------------------------| --------------------------|
2527
| StackExchange.Redis | C#/.NET | [https://github.com/StackExchange/StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis)| [StackExchange.Redis](https://stackexchange.github.io/StackExchange.Redis/) |
@@ -62,15 +64,15 @@ Here are some recommended best practices for Redisson:
6264

6365
- Use Redisson 3.14.1 or higher. Older versions contain known connection leak issues that cause problems after failovers.
6466

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).
6668

6769
- 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.
6870

6971
- To reduce the risk of aggressive reconnect behaviors or *connection storms*, consider setting fewer minimum connections.
7072

7173
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.
7274

73-
- 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.
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.
7476

7577
- 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).
7678

articles/azure-cache-for-redis/cache-planning-faq.yml

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,53 +17,54 @@ sections:
1717
- name: Ignored
1818
questions:
1919
- question: |
20-
How can I benchmark Azure Cache for Redis performance?
20+
Azure Cache for Redis performance
2121
answer: |
2222
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).
2323
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-
4724
- question: |
4825
Can I use Azure Redis with Azure Government Cloud or Azure operated by 21Vianet Cloud?
4926
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:
5128
52-
| Cloud | DNS Suffix for Redis |
29+
| Cloud | Domain Name System (DNS) suffix for Redis |
5330
|---------|---------------------------------|
5431
| Public | *.redis.cache.windows.net |
5532
| US Government | *.redis.cache.usgovcloudapi.net |
5633
| China | *.redis.cache.chinacloudapi.cn |
5734
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:
5936
6037
- [Azure Government Databases](/azure/azure-government/compare-azure-government-global-azure)
6138
- [Azure operated by 21Vianet Cloud](https://www.azure.cn/home/features/redis-cache/)
6239
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).
6441
6542
The Azure Redis Enterprise and Enterprise Flash tiers are available only in the Public cloud.
6643
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.
67+
6768
additionalContent: |
6869
6970
## Related content

articles/azure-cache-for-redis/cache-tls-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To enable the non-TLS port:
5454
1. On the **Advanced settings** page, select **No** under **Allow access only via SSL**.
5555
1. Select **Save**.
5656

57-
For more information, see [Access ports](cache-configure.md#access-ports):
57+
For more information, see [Access ports](cache-configure.md#access-ports).
5858

5959
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)
6060

0 commit comments

Comments
 (0)