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-redis-samples.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,3 @@ The [Access Azure Cache for Redis Monitoring data](https://github.com/rustd/Redi
69
69
## An X-style clone written using PHP and Redis
70
70
71
71
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.
> 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).
27
27
>
28
28
29
29
## Partial loss of keys
@@ -58,8 +58,6 @@ expired_keys:46583
58
58
db0:keys=3450,expires=2,avg_ttl=91861015336
59
59
```
60
60
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
-
63
61
### Key eviction
64
62
65
63
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/
72
70
evicted_keys:13224
73
71
```
74
72
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
-
77
73
### Key deletion
78
74
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.
80
76
81
77
```azurecli-interactive
82
78
# Commandstats
@@ -124,11 +120,9 @@ Caches in the Standard and Premium tiers offer much higher resiliency against da
124
120
125
121
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.
126
122
127
-
## Additional information
128
-
129
-
These articles provide more information on avoiding data loss:
123
+
## Related content
130
124
131
125
-[Troubleshoot Azure Cache for Redis server-side issues](cache-troubleshoot-server.md)
132
126
-[Choosing the right tier](cache-overview.md#choosing-the-right-tier)
133
127
-[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-)
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-troubleshoot-timeouts.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Here's the client-side troubleshooting.
44
44
45
45
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.
46
46
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:
@@ -89,8 +89,6 @@ To mitigate a client's high CPU usage:
89
89
90
90
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.
91
91
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
-
94
92
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).
95
93
96
94
### TCP settings for Linux based client applications
> 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).
28
28
>
29
29
30
30
## Partial loss of keys
@@ -59,7 +59,7 @@ expired_keys:46583
59
59
db0:keys=3450,expires=2,avg_ttl=91861015336
60
60
```
61
61
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.
63
63
64
64
### Key eviction
65
65
@@ -73,8 +73,6 @@ You can monitor the number of evicted keys by using the [INFO](https://redis.io/
73
73
evicted_keys:13224
74
74
```
75
75
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
-
78
76
### Key deletion
79
77
80
78
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
118
116
119
117
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.
120
118
121
-
## Additional information
122
-
123
-
These articles provide more information on avoiding data loss:
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-timeouts.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Here's the client-side troubleshooting.
43
43
44
44
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.
45
45
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:
@@ -88,8 +88,6 @@ To mitigate a client's high CPU usage:
88
88
89
89
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.
90
90
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
-
93
91
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).
94
92
95
93
### TCP settings for Linux based client applications
0 commit comments