Skip to content

Commit 9fd92ad

Browse files
authored
changed files by pdets auto publish service, publishid[e2dc1a22-bcef-46e0-9fdb-3f0e904ee9b1] and do [publish].
1 parent 51b1f9c commit 9fd92ad

14 files changed

+95
-68
lines changed

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/1-introduction.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
uid: learn.wwl.develop-for-azure-cache-for-redis.introduction
33
title: Introduction
44
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
57
title: Introduction
68
description: "Introduction"
7-
ms.date: 04/24/2023
9+
ms.date: 03/18/2025
810
author: wwlpublish
911
ms.author: jeffko
10-
ms.topic: interactive-tutorial
11-
ms.prod: learning-azure
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
1215
durationInMinutes: 3
1316
content: |
1417
[!include[](includes/1-introduction.md)]

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/2-azure-cache-redis-overview.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
uid: learn.wwl.develop-for-azure-cache-for-redis.explore
33
title: Explore Azure Cache for Redis
44
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
57
title: Explore Azure Cache for Redis
68
description: "Explore Azure Cache for Redis"
7-
ms.date: 04/24/2023
9+
ms.date: 03/18/2025
810
author: wwlpublish
911
ms.author: jeffko
10-
ms.topic: interactive-tutorial
11-
ms.prod: learning-azure
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
1215
durationInMinutes: 3
1316
content: |
1417
[!include[](includes/2-azure-cache-redis-overview.md)]

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/3-configure-azure-cache-redis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
uid: learn.wwl.develop-for-azure-cache-for-redis.configure
33
title: Configure Azure Cache for Redis
44
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
57
title: Configure Azure Cache for Redis
68
description: "Configure Azure Cache for Redis"
7-
ms.date: 04/24/2023
9+
ms.date: 03/18/2025
810
author: wwlpublish
911
ms.author: jeffko
10-
ms.topic: interactive-tutorial
11-
ms.prod: learning-azure
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
1215
durationInMinutes: 5
1316
content: |
1417
[!include[](includes/3-configure-azure-cache-redis.md)]

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/4-interact-redis-api.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
uid: learn.wwl.develop-for-azure-cache-for-redis.interact-by-using-net
33
title: Interact with Azure Cache for Redis by using .NET
44
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
57
title: Interact with Azure Cache for Redis by using .NET
68
description: "Interact with Azure Cache for Redis by using .NET"
7-
ms.date: 04/24/2023
9+
ms.date: 03/18/2025
810
author: wwlpublish
911
ms.author: jeffko
10-
ms.topic: interactive-tutorial
11-
ms.prod: learning-azure
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
1215
durationInMinutes: 3
1316
content: |
1417
[!include[](includes/4-interact-redis-api.md)]

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/5-console-app-azure-cache-redis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
uid: learn.wwl.develop-for-azure-cache-for-redis.exercise-connect-app-to-by-using-net-core
33
title: Exercise - Connect an app to Azure Cache for Redis by using .NET Core
44
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
57
title: Exercise - Connect an app to Azure Cache for Redis by using .NET Core
68
description: "Exercise - Connect an app to Azure Cache for Redis by using .NET Core"
7-
ms.date: 04/24/2023
9+
ms.date: 03/18/2025
810
author: wwlpublish
911
ms.author: jeffko
10-
ms.topic: interactive-tutorial
11-
ms.prod: learning-azure
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
1215
durationInMinutes: 10
1316
content: |
1417
[!include[](includes/5-console-app-azure-cache-redis.md)]

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/6-knowledge-check.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
uid: learn.wwl.develop-for-azure-cache-for-redis.knowledge-check
33
title: Knowledge check
44
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
57
title: Knowledge check
68
description: "Knowledge check"
7-
ms.date: 04/24/2023
9+
ms.date: 03/18/2025
810
author: wwlpublish
911
ms.author: jeffko
10-
ms.topic: interactive-tutorial
11-
ms.prod: learning-azure
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
1215
durationInMinutes: 3
1316
quiz:
1417
title: "Check your knowledge"
@@ -24,7 +27,7 @@ quiz:
2427
- content: "Premium"
2528
isCorrect: false
2629
explanation: "Incorrect. The premium tier is suitable for production, but it isn't the lowest tier recommended for production."
27-
- content: "Which of the following represents the expire time resolution when applying a time to live (TTL) to a key in Redis?"
30+
- content: "Which of the following choices represents the expire time resolution when applying a time to live (TTL) to a key in Redis?"
2831
choices:
2932
- content: "1-millisecond"
3033
isCorrect: true

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/7-summary.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
uid: learn.wwl.develop-for-azure-cache-for-redis.summary
33
title: Summary
44
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
57
title: Summary
68
description: "Summary"
7-
ms.date: 04/24/2023
9+
ms.date: 03/18/2025
810
author: wwlpublish
911
ms.author: jeffko
10-
ms.topic: interactive-tutorial
11-
ms.prod: learning-azure
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
1215
durationInMinutes: 3
1316
content: |
1417
[!include[](includes/7-summary.md)]
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
2-
Caching is a common technique that aims to improve the performance and scalability of a system. It does this by temporarily copying frequently accessed data to fast storage that's located close to the application. If this fast data storage is located closer to the application than the original source, then caching can significantly improve response times for client applications by serving data more quickly.
1+
Caching is a common technique that aims to improve the performance and scalability of a system. It does this by temporarily copying frequently accessed data to fast storage located close to the application. If this fast data storage is located closer to the application than the original source, then caching can significantly improve response times for client applications by serving data more quickly.
32

43
After completing this module, you'll be able to:
54

65
* Explain the key scenarios Azure Cache for Redis covers and its service tiers
76
* Identify the key parameters for creating an Azure Cache for Redis instance and interact with the cache
8-
* Connect an app to Azure Cache for Redis by using .NET 6
7+
* Connect an app to Azure Cache for Redis by using .NET

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/includes/2-azure-cache-redis-overview.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
21
Azure Cache for Redis provides an in-memory data store based on the [Redis](https://redis.io/) software. Redis improves the performance and scalability of an application that uses backend data stores heavily. It's able to process large volumes of application requests by keeping frequently accessed data in the server memory, which can be written to and read from quickly. Redis brings a critical low-latency and high-throughput data storage solution to modern applications.
32

4-
Azure Cache for Redis offers both the Redis open-source (OSS Redis) and a commercial product from Redis Labs (Redis Enterprise) as a managed service. It provides secure and dedicated Redis server instances and full Redis API compatibility. The service is operated by Microsoft, hosted on Azure, and usable by any application within or outside of Azure.
3+
Azure Cache for Redis offers both the Redis open-source (OSS Redis) and a commercial product from Redis Labs (Redis Enterprise) as a managed service. It provides secure and dedicated Redis server instances and full Redis API compatibility. Microsoft operates the service, hosted on Azure, and usable by any application within or outside of Azure.
54

65
## Key scenarios
76

@@ -12,7 +11,7 @@ Azure Cache for Redis improves application performance by supporting common appl
1211
| Data cache | Databases are often too large to load directly into a cache. It's common to use the [cache-aside](/azure/architecture/patterns/cache-aside) pattern to load data into the cache only as needed. When the system makes changes to the data, the system can also update the cache, which is then distributed to other clients. |
1312
| Content cache | Many web pages are generated from templates that use static content such as headers, footers, banners. These static items shouldn't change often. Using an in-memory cache provides quick access to static content compared to backend datastores. |
1413
| Session store | This pattern is commonly used with shopping carts and other user history data that a web application might associate with user cookies. Storing too much in a cookie can have a negative effect on performance as the cookie size grows and is passed and validated with every request. A typical solution uses the cookie as a key to query the data in a database. Using an in-memory cache, like Azure Cache for Redis, to associate information with a user is faster than interacting with a full relational database. |
15-
| Job and message queuing | Applications often add tasks to a queue when the operations associated with the request take time to execute. Longer running operations are queued to be processed in sequence, often by another server. This method of deferring work is called task queuing. |
14+
| Job and message queuing | Applications often add tasks to a queue when the operations associated with the request take time to execute. Longer running operations are queued to be processed in sequence, often by another server. This method of deferring work is called task queuing. |
1615
| Distributed transactions | Applications sometimes require a series of commands against a backend data-store to execute as a single atomic operation. All commands must succeed, or all must be rolled back to the initial state. Azure Cache for Redis supports executing a batch of commands as a single [transaction](https://redis.io/topics/transactions). |
1716

1817
## Service tiers
@@ -21,7 +20,7 @@ Azure Cache for Redis is available in these tiers:
2120

2221
| Tier | Description |
2322
|--|--|
24-
| Basic | An OSS Redis cache running on a single VM. This tier has no service-level agreement (SLA) and is ideal for development/test and noncritical workloads. |
23+
| Basic | An OSS Redis cache running on a single virtual machine (VM). This tier has no service-level agreement (SLA) and is ideal for development/test and noncritical workloads. |
2524
| Standard | An OSS Redis cache running on two VMs in a replicated configuration. |
2625
| Premium | High-performance OSS Redis caches. This tier offers higher throughput, lower latency, better availability, and more features. Premium caches are deployed on more powerful VMs compared to the VMs for Basic or Standard caches. |
2726
| Enterprise | High-performance caches powered by Redis Labs' Redis Enterprise software. This tier supports Redis modules including RediSearch, RedisBloom, and RedisTimeSeries. Also, it offers even higher availability than the Premium tier. |

learn-pr/wwl-azure/develop-for-azure-cache-for-redis/includes/3-configure-azure-cache-redis.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
You can create a Redis cache using the Azure portal, the Azure CLI, or Azure PowerShell.
32

43
## Create and configure an Azure Cache for Redis instance
@@ -20,7 +19,7 @@ You should always place your cache instance and your application in the same reg
2019
The tier determines the size, performance, and features that are available for the cache. For more information, visit [Azure Cache for Redis pricing](https://azure.microsoft.com/pricing/details/cache/).
2120

2221
> [!TIP]
23-
> Microsoft recommends you always use Standard tier or higher for production systems. The Basic tier is a single node system with no data replication and no SLA.
22+
> Microsoft recommends you always use Standard tier or higher for production systems. The Basic tier is a single node system with no data replication and no service level agreement.
2423
2524
### Clustering support
2625

@@ -36,13 +35,13 @@ Here are some common commands you can use:
3635

3736
| Command | Description |
3837
|--|--|
39-
| `ping` | Ping the server. Returns "PONG". |
38+
| `ping` | Ping the server. Returns `PONG`. |
4039
| `set [key] [value]` | Sets a key/value in the cache. Returns "OK" on success. |
4140
| `get [key]` | Gets a value from the cache. |
4241
| `exists [key]` | Returns '1' if the **key** exists in the cache, '0' if it doesn't. |
4342
| `type [key]` | Returns the type associated to the value for the given **key**. |
4443
| `incr [key]` | Increment the given value associated with **key** by '1'. The value must be an integer or double value. This returns the new value. |
45-
| `incrby [key] [amount]` | Increment the given value associated with **key** by the specified amount. The value must be an integer or double value. This returns the new value. |
44+
| `incrby [key] [amount]` | Increment the given value associated with **key** by the specified amount. The value must be an integer or double value. Returns the new value. |
4645
| `del [key]` | Deletes the value associated with the **key**. |
4746
| `flushdb` | Delete *all* keys and values in the database. |
4847

@@ -63,7 +62,7 @@ OK
6362

6463
### Adding an expiration time to values
6564

66-
Caching is important because it allows us to store commonly used values in memory. However, we also need a way to expire values when they're stale. In Redis this is done by applying a time to live (TTL) to a key.
65+
Caching is important because it allows us to store commonly used values in memory. However, we also need a way to expire values when they're stale. In Redis expiring values is done by applying a time to live (TTL) to a key.
6766

6867
When the TTL elapses, the key is automatically deleted, exactly as if the DEL command were issued. Here are some notes on TTL expirations.
6968

@@ -91,7 +90,7 @@ To connect to an Azure Cache for Redis instance, you need several pieces of info
9190

9291
* The host name is the public Internet address of your cache, which was created using the name of the cache. For example, `sportsresults.redis.cache.windows.net`.
9392

94-
* The access key acts as a password for your cache. There are two keys created: primary and secondary. You can use either key, two are provided in case you need to change the primary key. You can switch all of your clients to the secondary key, and regenerate the primary key. This would block any applications using the original primary key. Microsoft recommends periodically regenerating the keys - much like you would your personal passwords.
93+
* The access key acts as a password for your cache. There are two keys created: primary and secondary. You can use either key. Two are provided in case you need to change the primary key. You can switch all of your clients to the secondary key, and regenerate the primary key. This would block any applications using the original primary key. Microsoft recommends periodically regenerating the keys - much like you would your personal passwords.
9594

9695
> [!WARNING]
97-
> Your access keys should be considered confidential information, treat them like you would a password. Anyone who has an access key can perform any operation on your cache!
96+
> Your access keys should be considered confidential information. Treat them like you would a password. Anyone who has an access key can perform any operation on your cache!

0 commit comments

Comments
 (0)