azure-cache-redis

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Azure Cache for Redis Skill

Azure Cache for Redis 技能指南

This skill provides expert guidance for Azure Cache for Redis. Covers troubleshooting, best practices, decision making, architecture & design patterns, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本技能指南为Azure Cache for Redis提供专业指导,涵盖故障排除、最佳实践、决策制定、架构与设计模式、安全、配置、集成与编码模式以及部署。它结合了本地快速参考内容与远程文档获取功能。

How to Use This Skill

如何使用本技能指南

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,
L35-L120
), use
read_file
with the specified lines. For categories with file links (e.g.,
[security.md](security.md)
), use
read_file
on the linked reference file
IMPORTANT for Agent: If
metadata.generated_at
is more than 3 months old, suggest the user pull the latest version from the repository. If
mcp_microsoftdocs
tools are not available, suggest the user install it: Installation Guide
This skill requires network access to fetch documentation content:
  • Preferred: Use
    mcp_microsoftdocs:microsoft_docs_fetch
    with query string
    from=learn-agent-skill
    . Returns Markdown.
  • Fallback: Use
    fetch_webpage
    with query string
    from=learn-agent-skill&accept=text/markdown
    . Returns Markdown.
Agent 重要提示:使用下方的分类索引查找相关章节。对于带有行范围的分类(例如
L35-L120
),使用
read_file
工具读取指定行内容;对于带有文件链接的分类(例如
[security.md](security.md)
),使用
read_file
工具读取链接的参考文件
Agent 重要提示:如果
metadata.generated_at
的时间超过3个月,建议用户从仓库拉取最新版本。如果
mcp_microsoftdocs
工具不可用,建议用户安装该工具:安装指南
本技能指南需要网络访问权限来获取文档内容:
  • 推荐方式:使用
    mcp_microsoftdocs:microsoft_docs_fetch
    工具,携带查询字符串
    from=learn-agent-skill
    ,返回Markdown格式内容。
  • 备选方式:使用
    fetch_webpage
    工具,携带查询字符串
    from=learn-agent-skill&accept=text/markdown
    ,返回Markdown格式内容。

Category Index

分类索引

CategoryLinesDescription
TroubleshootingL36-L46Diagnosing and fixing Azure Cache for Redis issues: client and connectivity errors, data loss, server problems, and performance/latency troubleshooting using tools like redis-cli and monitoring.
Best PracticesL47-L61Guidance on resilient client usage, scaling, memory/CPU tuning, performance testing, failover handling, and Kubernetes/Enterprise tier best practices for Azure Cache for Redis.
Decision MakingL62-L71Guidance on sizing and capacity, network isolation, reservations, and planning or executing migrations to and from Azure Cache for Redis (including VNets and Private Link).
Architecture & Design PatternsL72-L76Guidance on designing highly available Azure Cache for Redis deployments, covering redundancy, failover, clustering, and resilience best practices.
SecurityL77-L89Securing Azure Cache for Redis: auth (Entra, policies, managed identities), TLS config, disk encryption, VNets/Private Link, and enforcing security via Azure Policy.
ConfigurationL90-L103Configuring Azure Cache for Redis behavior: server settings, reboot/flush, geo-replication, replicas, persistence, zone redundancy, and monitoring/metrics via Azure Monitor and diagnostics.
Integrations & Coding PatternsL104-L115Managing Azure Cache for Redis via CLI/PowerShell, routing Redis events to webhooks/endpoints, and importing/exporting data through Blob storage, including clustered premium provisioning.
DeploymentL116-L122Scaling and upgrading Azure Cache for Redis instances, and deploying them using ARM or Bicep templates, including safe scale operations and Redis version upgrades.
分类行范围描述
故障排除L36-L46诊断并修复Azure Cache for Redis问题:客户端与连接错误、数据丢失、服务器问题,以及使用redis-cli和监控工具排查性能/延迟问题。
最佳实践L47-L61提供Azure Cache for Redis的弹性客户端使用、扩容、内存/CPU调优、性能测试、故障转移处理以及Kubernetes/企业层最佳实践指导。
决策制定L62-L71提供Azure Cache for Redis的规模与容量规划、网络隔离、预留实例选择,以及迁移规划与执行(包括VNet和Private Link)的指导。
架构与设计模式L72-L76指导设计高可用的Azure Cache for Redis部署,涵盖冗余、故障转移、集群化与弹性最佳实践。
安全L77-L89加固Azure Cache for Redis的安全:身份验证(Entra、策略、托管标识)、TLS配置、磁盘加密、VNet/Private Link,以及通过Azure Policy强制执行安全规则。
配置L90-L103配置Azure Cache for Redis的行为:服务器设置、重启/清空、异地复制、副本、持久化、区域冗余,以及通过Azure Monitor和诊断配置监控/指标。
集成与编码模式L104-L115通过CLI/PowerShell管理Azure Cache for Redis,将Redis事件路由到Webhook/端点,以及通过Blob存储导入/导出数据,包括高级集群实例的配置。
部署L116-L122扩容与升级Azure Cache for Redis实例,以及使用ARM或Bicep模板进行部署,包括安全扩容操作与Redis版本升级。

Troubleshooting

故障排除

Best Practices

最佳实践

TopicURL
Use Redis client libraries effectively with Azure Cachehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-client-libraries
Improve Azure Redis connection resiliencehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-connection
Implement development best practices for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-development
Use Azure Redis Enterprise and Flash tiers effectivelyhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-enterprise-tiers
Run Kubernetes client apps with Azure Redis reliablyhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-kubernetes
Optimize Azure Redis memory managementhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-memory-management
Conduct performance testing for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-performance
Apply scaling best practices for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-scale
Monitor and manage CPU utilization for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-server-load
Apply development best practices for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-development-faq
Handle failover and patching in Azure Redis clientshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-failover

Decision Making

决策制定

Architecture & Design Patterns

架构与设计模式

Security

安全

Configuration

配置

Integrations & Coding Patterns

集成与编码模式

Deployment

部署