Skip to content

Commit bdbcb2b

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into waf-crs
2 parents e4c511d + cc35618 commit bdbcb2b

File tree

220 files changed

+2175
-1276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+2175
-1276
lines changed

articles/azure-cache-for-redis/cache-redis-samples.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,3 @@ The [Access Azure Cache for Redis Monitoring data](https://github.com/rustd/Redi
6969
## An X-style clone written using PHP and Redis
7070

7171
The [Retwis](https://github.com/SyntaxC4-MSFT/retwis) sample is the Redis Hello World. It's a minimal X-style social network clone written using Redis and PHP using the [Predis](https://github.com/nrk/predis) client. The source code is designed to be simple and at the same time to show different Redis data structures.
72-
73-
## Bandwidth monitor
74-
75-
The [Bandwidth monitor](https://github.com/JonCole/SampleCode/tree/master/BandWidthMonitor) sample allows you to monitor the bandwidth used on the client. To measure the bandwidth, run the sample on the cache client machine, make calls to the cache, and observe the bandwidth reported by the bandwidth monitor sample.

articles/azure-cache-for-redis/cache-troubleshoot-data-loss.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to resolve data-loss problems with Azure Cache for Redis,
55

66

77
ms.topic: conceptual
8-
ms.date: 12/01/2021
8+
ms.date: 03/05/2025
99
---
1010

1111
# Troubleshoot data loss in Azure Cache for Redis
@@ -23,7 +23,7 @@ This article discusses how to diagnose actual or perceived data losses that migh
2323
- [Redis instance failure](#redis-instance-failure)
2424

2525
> [!NOTE]
26-
> Several of the troubleshooting steps in this guide include instructions to run Redis commands and monitor various performance metrics. For more information and instructions, see the articles in the [Additional information](#additional-information) section.
26+
> Several of the troubleshooting steps in this guide include instructions to run Redis commands and monitor various performance metrics. For more information and instructions, see the articles in the [Related Content](#related-content).
2727
>
2828
2929
## Partial loss of keys
@@ -58,8 +58,6 @@ expired_keys:46583
5858
db0:keys=3450,expires=2,avg_ttl=91861015336
5959
```
6060

61-
You can also look at diagnostic metrics for your cache, to see if there's a correlation between when the key went missing and a spike in expired keys. See the Appendix of [Debugging Redis Keyspace Misses](https://gist.github.com/JonCole/4a249477142be839b904f7426ccccf82#appendix) for information about using `keyspace` notifications or `MONITOR` to debug these types of issues.
62-
6361
### Key eviction
6462

6563
Azure Cache for Redis requires memory space to store data. It purges keys to free up available memory when necessary. When the **used_memory** or **used_memory_rss** values in the [INFO](https://redis.io/commands/info) command approach the configured **maxmemory** setting, Azure Cache for Redis starts evicting keys from memory based on [cache policy](https://redis.io/topics/lru-cache).
@@ -72,11 +70,9 @@ You can monitor the number of evicted keys by using the [INFO](https://redis.io/
7270
evicted_keys:13224
7371
```
7472

75-
You can also look at diagnostic metrics for your cache, to see if there's a correlation between when the key went missing and a spike in evicted keys. See the Appendix of [Debugging Redis Keyspace Misses](https://gist.github.com/JonCole/4a249477142be839b904f7426ccccf82#appendix) for information about using keyspace notifications or **MONITOR** to debug these types of issues.
76-
7773
### Key deletion
7874

79-
Redis clients can issue the [DEL](https://redis.io/commands/del) or [HDEL](https://redis.io/commands/hdel) command to explicitly remove keys from Azure Cache for Redis. You can track the number of delete operations by using the [INFO](https://redis.io/commands/info) command. If **DEL** or **HDEL** commands have been called, they'll be listed in the `Commandstats` section.
75+
Redis clients can issue the [DEL](https://redis.io/commands/del) or [HDEL](https://redis.io/commands/hdel) command to explicitly remove keys from Azure Cache for Redis. You can track the number of delete operations by using the [INFO](https://redis.io/commands/info) command. If **DEL** or **HDEL** commands have been called, they are listed in the `Commandstats` section.
8076

8177
```azurecli-interactive
8278
# Commandstats
@@ -124,11 +120,9 @@ Caches in the Standard and Premium tiers offer much higher resiliency against da
124120

125121
Consider using [Redis data persistence](https://redis.io/topics/persistence) and [geo-replication](./cache-how-to-geo-replication.md) to improve protection of your data against these infrastructure failures.
126122

127-
## Additional information
128-
129-
These articles provide more information on avoiding data loss:
123+
## Related content
130124

131125
- [Troubleshoot Azure Cache for Redis server-side issues](cache-troubleshoot-server.md)
132126
- [Choosing the right tier](cache-overview.md#choosing-the-right-tier)
133127
- [Monitor Azure Cache for Redis](monitor-cache.md)
134-
- [How can I run Redis commands?](cache-development-faq.yml#how-can-i-run-redis-commands-)
128+
- [How can I run Redis commands?](cache-development-faq.yml#how-can-i-run-redis-commands-)

articles/azure-cache-for-redis/cache-troubleshoot-timeouts.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Here's the client-side troubleshooting.
4444

4545
Bursts of traffic combined with poor `ThreadPool` settings can result in delays in processing data already sent by the Redis server but not yet consumed on the client side. Check the metric "Errors" (Type: UnresponsiveClients) to validate if your client hosts can keep up with a sudden spike in traffic.
4646

47-
Monitor how your `ThreadPool` statistics change over time using [an example `ThreadPoolLogger`](https://github.com/JonCole/SampleCode/blob/master/ThreadPoolMonitor/ThreadPoolLogger.cs). You can use `TimeoutException` messages from StackExchange.Redis to further investigate:
47+
You can use `TimeoutException` messages from StackExchange.Redis to further investigate:
4848

4949
```output
5050
System.TimeoutException: Timeout performing EVAL, inst: 8, mgr: Inactive, queue: 0, qu: 0, qs: 0, qc: 0, wr: 0, wq: 0, in: 64221, ar: 0,
@@ -89,8 +89,6 @@ To mitigate a client's high CPU usage:
8989

9090
Depending on the architecture of client machines, they might have limitations on how much network bandwidth they have available. If the client exceeds the available bandwidth by overloading network capacity, then data isn't processed on the client side as quickly as the server is sending it. This situation can lead to timeouts.
9191

92-
Monitor how your Bandwidth usage change over time using [an example `BandwidthLogger`](https://github.com/JonCole/SampleCode/blob/master/BandWidthMonitor/BandwidthLogger.cs). This code might not run successfully in some environments with restricted permissions (like Azure web sites).
93-
9492
To mitigate, reduce network bandwidth consumption or increase the client VM size to one with more network capacity. For more information, see [Large request or response size](cache-best-practices-development.md#large-request-or-response-size).
9593

9694
### TCP settings for Linux based client applications

articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-data-loss.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-managed-redis
77
ms.custom:
88
- ignite-2024
99
ms.topic: conceptual
10-
ms.date: 11/15/2024
10+
ms.date: 03/05/2025
1111
---
1212

1313
# Troubleshoot data loss in Azure Managed Redis (preview)
@@ -24,7 +24,7 @@ This article discusses how to diagnose actual or perceived data losses that migh
2424
- [Redis instance failure](#redis-instance-failure)
2525

2626
> [!NOTE]
27-
> Several of the troubleshooting steps in this guide include instructions to run Redis commands and monitor various performance metrics. For more information and instructions, see the articles in the [Additional information](#additional-information) section.
27+
> Several of the troubleshooting steps in this guide include instructions to run Redis commands and monitor various performance metrics. For more information and instructions, see the articles in the [Related content](#related-content).
2828
>
2929
3030
## Partial loss of keys
@@ -59,7 +59,7 @@ expired_keys:46583
5959
db0:keys=3450,expires=2,avg_ttl=91861015336
6060
```
6161

62-
You can also look at diagnostic metrics for your cache, to see if there's a correlation between when the key went missing and a spike in expired keys. See the Appendix of [Debugging Redis Keyspace Misses](https://gist.github.com/JonCole/4a249477142be839b904f7426ccccf82#appendix) for information about using `keyspace` notifications or `MONITOR` to debug these types of issues.
62+
You can examine the diagnostic metrics for your cache to see if there's a correlation between when the key went missing and a spike in evicted keys.
6363

6464
### Key eviction
6565

@@ -73,8 +73,6 @@ You can monitor the number of evicted keys by using the [INFO](https://redis.io/
7373
evicted_keys:13224
7474
```
7575

76-
You can also look at diagnostic metrics for your cache, to see if there's a correlation between when the key went missing and a spike in evicted keys. See the Appendix of [Debugging Redis Keyspace Misses](https://gist.github.com/JonCole/4a249477142be839b904f7426ccccf82#appendix) for information about using keyspace notifications or **MONITOR** to debug these types of issues.
77-
7876
### Key deletion
7977

8078
Redis clients can issue the [DEL](https://redis.io/commands/del) or [HDEL](https://redis.io/commands/hdel) command to explicitly remove keys from Azure Managed Redis. You can track the number of delete operations by using the [INFO](https://redis.io/commands/info) command. If **DEL** or **HDEL** commands have been called, they'll be listed in the `Commandstats` section.
@@ -118,9 +116,7 @@ Redis is an in-memory data store. Data is kept on the physical or virtual machin
118116

119117
Consider using [Redis data persistence](https://redis.io/topics/persistence) and [geo-replication](../cache-how-to-geo-replication.md) to improve protection of your data against these infrastructure failures.
120118

121-
## Additional information
122-
123-
These articles provide more information on avoiding data loss:
119+
## Related content
124120

125121
- [Troubleshoot Azure Managed Redis server-side issues](managed-redis-troubleshoot-server.md)
126122
- [Choosing the right tier](managed-redis-overview.md#choosing-the-right-tier)

articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-timeouts.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Here's the client-side troubleshooting.
4343

4444
Bursts of traffic combined with poor `ThreadPool` settings can result in delays in processing data already sent by the Redis server but not yet consumed on the client side. Check the metric "Errors" (Type: UnresponsiveClients) to validate if your client hosts can keep up with a sudden spike in traffic.
4545

46-
Monitor how your `ThreadPool` statistics change over time using [an example `ThreadPoolLogger`](https://github.com/JonCole/SampleCode/blob/master/ThreadPoolMonitor/ThreadPoolLogger.cs). You can use `TimeoutException` messages from StackExchange.Redis to further investigate:
46+
You can use `TimeoutException` messages from StackExchange.Redis to further investigate:
4747

4848
```output
4949
System.TimeoutException: Timeout performing EVAL, inst: 8, mgr: Inactive, queue: 0, qu: 0, qs: 0, qc: 0, wr: 0, wq: 0, in: 64221, ar: 0,
@@ -88,8 +88,6 @@ To mitigate a client's high CPU usage:
8888

8989
Depending on the architecture of client machines, they might have limitations on how much network bandwidth they have available. If the client exceeds the available bandwidth by overloading network capacity, then data isn't processed on the client side as quickly as the server is sending it. This situation can lead to timeouts.
9090

91-
Monitor how your Bandwidth usage change over time using [an example `BandwidthLogger`](https://github.com/JonCole/SampleCode/blob/master/BandWidthMonitor/BandwidthLogger.cs). This code might not run successfully in some environments with restricted permissions (like Azure web sites).
92-
9391
To mitigate, reduce network bandwidth consumption or increase the client VM size to one with more network capacity. For more information, see [Large request or response size](managed-redis-best-practices-development.md#large-request-or-response-size).
9492

9593
### TCP settings for Linux based client applications

articles/azure-functions/flex-consumption-plan.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ Keep these other considerations in mind when using Flex Consumption plan:
142142
+ **Diagnostic settings**: Diagnostic settings aren't currently supported.
143143
+ **Certificates**: Loading certificates with the WEBSITE_LOAD_CERTIFICATES app setting, managed certificates, app service certificates, and other platform certificate-based features are currently not supported.
144144
+ **Key Vault References**: Key Vault references in app settings don't work when Key Vault is network access restricted, even if the function app has Virtual Network integration. The current workaround is to directly reference the Key Vault in code and read the required secrets.
145+
+ **Timezones**: `WEBSITE_TIME_ZONE` and `TZ` app settings are not currently supported when running on Flex Consumption plan.
145146

146147
## Related articles
147148

0 commit comments

Comments
 (0)