| Domain Rule | Design Constraint | Rust Implication |
| Stateless HTTP | No request-local globals | State in extractors | | Concurrency | Handle many connections | Async, Send + Sync | | Latency SLA | Fast response | Efficient ownership | | Security | Input validation | Type-safe extractors | | Observability | Request tracing | tracing + tower layers |
| axum | Functional, tower | Modern APIs | | actix-web | Actor-based | High performance | | warp | Filter composition | Composable APIs | | rocket | Macro-driven | Rapid development |
Utilizzare durante la creazione di servizi Web. Parole chiave: server web, HTTP, API REST, GraphQL, WebSocket, axum, actix, warp, rocket, tower, hyper, reqwest, middleware, router, gestore, estrattore, gestione dello stato, autenticazione, autorizzazione, JWT, sessione, cookie, CORS, limitazione della velocità, web 开发, HTTP 服务, API 设计, 中间件, 路由 Fonte: zhanghandong/rust-skills.