cloud-design-patterns by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill cloud-design-patterns架构师通过整合平台服务、功能和代码来设计工作负载,以满足功能性和非功能性需求。要设计有效的工作负载,您必须理解这些需求,并选择能够应对工作负载约束挑战的拓扑结构和方法论。云设计模式为许多常见挑战提供了解决方案。
系统设计在很大程度上依赖于既定的设计模式。您可以通过组合使用这些模式来设计基础设施、代码和分布式系统。这些模式对于在云中构建可靠、高度安全、成本优化、运营高效且高性能的应用程序至关重要。
以下云设计模式与技术无关,这使得它们适用于任何分布式系统。您可以在 Azure、其他云平台、本地设置和混合环境中应用这些模式。
云工作负载容易受到分布式计算谬误的影响,这些谬误是关于分布式系统如何运行的常见但错误的假设。这些谬误的例子包括:
这些误解可能导致有缺陷的工作负载设计。设计模式并不能消除这些误解,但有助于提高认识、提供补偿策略和缓解措施。每个云设计模式都有其权衡取舍。应关注为什么应该选择特定模式,而不是如何实现它。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| Choreography、Claim Check、Competing Consumers、Messaging Bridge、Pipes and Filters、Publisher-Subscriber、Scheduler Agent Supervisor |
| 架构与设计模式 | Anti-Corruption Layer、Backends for Frontends、Gateway Aggregation/Offloading/Routing、Sidecar、Strangler Fig |
| 部署与运维模式 | Compute Resource Consolidation、Deployment Stamps、External Configuration Store、Geode、Static Content Hosting |
| 安全模式 | Federated Identity、Quarantine、Valet Key |
| 事件驱动架构模式 | Event Sourcing |
| 最佳实践与模式选择 | 选择适当的模式、与完善架构框架对齐、文档、监控 |
| Azure 服务映射 | 每个模式类别常用的 Azure 服务 |
| 类别 | 模式数量 | 关注点 |
|---|---|---|
| 可靠性与弹性 | 9 种模式 | 容错、自愈、优雅降级 |
| 性能 | 10 种模式 | 缓存、扩展、负载管理、数据优化 |
| 消息传递与集成 | 7 种模式 | 解耦、事件驱动通信、工作流协调 |
| 架构与设计 | 7 种模式 | 系统边界、API 网关、迁移策略 |
| 部署与运维 | 5 种模式 | 基础设施管理、地理分布、配置 |
| 安全 | 3 种模式 | 身份、访问控制、内容验证 |
| 事件驱动架构 | 1 种模式 | 事件溯源和审计追踪 |
每周安装量
501
代码仓库
GitHub 星标数
26.9K
首次出现
13 天前
安全审计
安装于
gemini-cli449
codex447
opencode439
cursor435
github-copilot433
kimi-cli431
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.
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:
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.
| 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 |
| 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 |
Weekly Installs
501
Repository
GitHub Stars
26.9K
First Seen
13 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli449
codex447
opencode439
cursor435
github-copilot433
kimi-cli431
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
64,099 周安装
| 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 |