mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-13 12:45:13 +00:00
Add Cloud Design Patterns skill for distributed systems architecture (#942)
* Fatih: Add Cloud Design Patterns instructions for distributed systems architecture * Convert Cloud Design Patterns from instruction to skill * Update skills/cloud-design-patterns/SKILL.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update skills/cloud-design-patterns/references/reliability-resilience.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
21
skills/cloud-design-patterns/references/event-driven.md
Normal file
21
skills/cloud-design-patterns/references/event-driven.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Event-Driven Architecture Patterns
|
||||
|
||||
## Event Sourcing Pattern
|
||||
|
||||
**Problem**: Need complete audit trail of all changes to application state.
|
||||
|
||||
**Solution**: Use an append-only store to record the full series of events that describe actions taken on data in a domain.
|
||||
|
||||
**When to Use**:
|
||||
- Requiring complete audit trail
|
||||
- Implementing temporal queries (point-in-time state)
|
||||
- Supporting event replay and debugging
|
||||
- Implementing CQRS with eventual consistency
|
||||
|
||||
**Implementation Considerations**:
|
||||
- Store events in append-only log
|
||||
- Rebuild current state by replaying events
|
||||
- Implement event versioning strategy
|
||||
- Handle event schema evolution
|
||||
- Consider storage growth over time
|
||||
- Implement snapshots for performance
|
||||
Reference in New Issue
Block a user