跳到正文
Skillpedia
通用编程40k · #7108

cloud-design-patterns

它能做什么

这份资源提供了一份面向云端分布式系统的设计模式指南。它可以帮助你构建更可靠、更安全、更高效的应用。

适用场景

  • ✓当你为新的云系统设计架构时。
  • ✓当你审查或改进现有系统时。
  • ✓当你想解决分布式系统中的常见难题时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/cloud-design-patterns/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/cloud-design-patterns/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我可以使用哪些设计模式,让系统更能抵御故障?”

每周 5 个新技能,1 分钟读完。

工作原理

它列出并分类了多种经过验证的解决方案(即模式),用于应对分布式系统中的常见挑战。你可以选择最适合自己问题的模式。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Cloud Design Patterns

Architects design workloads by integrating platform services, functionality, and code to meet both functional and nonfunctional requirements. To design effective workloads, you must understand these requirements and select topologies and methodologies that address the challenges of your workload's constraints. Cloud design patterns provide solutions to many common challenges.

System design heavily relies on established design patterns. You can design infrastructure, code, and distributed systems by using a combination of these patterns. These patterns are crucial for building reliable, highly secure, cost-optimized, operationally efficient, and high-performing applications in the cloud.

The following cloud design patterns are technology-agnostic, which makes them suitable for any distributed system. You can apply these patterns across Azure, other cloud platforms, on-premises setups, and hybrid environments.

How Cloud Design Patterns Enhance the Design Process

Cloud workloads are vulnerable to the fallacies of distributed computing, which are common but incorrect assumptions about how distributed systems operate. Examples of these fallacies include:

  • The network is reliable.
  • Latency is zero.
  • Bandwidth is infinite.
  • The network is secure.
  • Topology doesn't change.
  • There's one administrator.
  • Component versioning is simple.
  • Observability implementation can be delayed.

These misconceptions can result in flawed workload designs. Design patterns don't eliminate these misconceptions but help raise awareness, provide compensation strategies, and provide mitigations. Each cloud design pattern has trade-offs. Focus on why you should choose a specific pattern instead of how to implement it.


References

Reference When to load
Reliability & Resilience Patterns Ambassador, Bulkhead, Circuit Breaker, Compensating Transaction, Retry, Health Endpoint Monitoring, Leader Election, Saga, Sequential Convoy
Performance Patterns Async Request-Reply, Cache-Aside, CQRS, Index Table, Materialized View, Priority Queue, Queue-Based Load Leveling, Rate Limiting, Sharding, Throttling
Messaging & Integration Patterns Choreography, Claim Check, Competing Consumers, Messaging Bridge, Pipes and Filters, Publisher-Subscriber, Scheduler Agent Supervisor
Architecture & Design Patterns Anti-Corruption Layer, Backends for Frontends, Gateway Aggregation/Offloading/Routing, Sidecar, Strangler Fig
Deployment & Operational Patterns Compute Resource Consolidation, Deployment Stamps, External Configuration Store, Geode, Static Content Hosting
Security Patterns Federated Identity, Quarantine, Valet Key
Event-Driven Architecture Patterns Event Sourcing
Best Practices & Pattern Selection Selecting appropriate patterns, Well-Architected Framework alignment, documentation, monitoring
Azure Service Mappings Common Azure services for each pattern category

Pattern Categories at a Glance

Category Patterns Focus
Reliability & Resilience 9 patterns Fault tolerance, self-healing, graceful degradation
Performance 10 patterns Caching, scaling, load management, data optimization
Messaging & Integration 7 patterns Decoupling, event-driven communication, workflow coordination
Architecture & Design 7 patterns System boundaries, API gateways, migration strategies
Deployment & Operational 5 patterns Infrastructure management, geo-distribution, configuration
Security 3 patterns Identity, access control, content validation
Event-Driven Architecture 1 pattern Event sourcing and audit trails

External Links

常见问题

什么是“分布式计算的谬误”?

这是人们对网络系统运作方式的一些常见错误假设,比如“网络永远可靠”或“延迟为零”。

这些模式只适用于 Azure 吗?

不是。它们与具体技术无关,适用于任何云(Azure、AWS、GCP)、本地部署的系统或混合环境。

我需要知道如何实现每种模式吗?

重点在于理解为什么要选择某种模式,而不是深入研究每种模式的具体技术实现细节。

详情

作者的原始描述

Cloud design patterns for distributed systems architecture covering 42 industry-standard patterns across reliability, performance, messaging, security, and deployment categories. Use when designing, reviewing, or implementing distributed system architectures.

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7108
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能