Ambassador Pattern
Implements outbound sidecar proxy architecture to decouple routing, discovery, canary splits, and resilience policies from application releases.
The Ambassador Pattern skill guides the design and implementation of out-of-process outbound sidecar proxies, offloading network complexities like service discovery, shard-aware routing, TLS termination, canary/shadow traffic splitting, and connection pooling from application code. It helps engineers eliminate duplicated client-side networking logic across polyglot microservices, prevent destructive retry amplification, enforce deadline propagation, and make dynamic traffic routing changes without redeploying business logic services.
主な機能
01Configures shard-aware routing and consistent hashing without leaking network topology
02Prevents retry storm amplification by enforcing strict single-layer resilience policies
03Standardizes outbound connection pooling, TLS termination, and timeout propagation
040 GitHub stars
05Decouples dynamic routing, canary splits, and traffic mirroring from application release cycles
06Provides clear decision rules for choosing between ambassadors, service meshes, or client libraries
ユースケース
01Executing canary releases, A/B routing splits, or shadow traffic tests without redeploying application code
02Migrating or resharding upstream datastores while keeping backend services unaware of topology shifts
03Standardizing outbound resilience, retries, and discovery across polyglot microservice fleets