Design
556 installs
microservices-patterns
by wshobson/agents
Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems,…
Skill content
Comprehensive guide to designing distributed systems with service boundaries, communication patterns, and resilience strategies. - Covers service decomposition by business capability and domain-driven design, with the Strangler Fig pattern for gradual monolith migration - Includes synchronous (REST, gRPC) and asynchronous (Kafka, message queues) communication patterns with event-driven architecture examples - Provides Saga pattern implementation for distributed transactions with compensating actions and eventual consistency - Features resilience patterns including Circuit Breaker, retry with exponential backoff, and bulkhead isolation to prevent cascade failures - Includes production-ready Python code examples for API gateways, event buses, saga orchestration, and circuit breaker implementations Microservices Patterns Master microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems. When to Use This Skill - Decomposing monoliths into microservices - Designing service boundaries and contracts - Implementing inter-service communication - Managing distributed data and transactions - Building resilient distributed systems - Implementing service discovery and load balancing - Designing event-driven architectures Core Concepts 1. Service Decomposition Strategies By Business Capability