| Domain Rule | Design Constraint | Rust Implication |
| 12-Factor | Config from env | Environment-based config | | Observability | Metrics + traces | tracing + opentelemetry | | Health checks | Liveness/readiness | Dedicated endpoints | | Graceful shutdown | Clean termination | Signal handling | | Horizontal scale | Stateless design | No local state |
| gRPC | tonic | | Kubernetes | kube, kube-runtime | | Docker | bollard | | Tracing | tracing, opentelemetry | | Metrics | prometheus, metrics | | Config | config, figment | | Health | HTTP endpoints |
Da utilizzare durante la creazione di app native del cloud. Parole chiave: kubernetes, k8s, docker, container, grpc, tonic, microservizio, service mesh, osservabilità, tracciamento, metrica, controllo dello stato, cloud, distribuzione, 云原生, 微服务, 容器 Fonte: zhanghandong/rust-skills.