actix
Installation
SKILL.md
Actix Web
Actix Web is one of the fastest web frameworks in the world (TechEmpower benchmarks). It uses the Actor Model (though less visible in v4) for concurrency.
When to Use
- Ultra-High Throughput Rust Microservices: Systems demanding sub-millisecond response times and millions of requests per second.
- Actor-Based Asynchronous Workloads: Applications utilizing the Actix actor model alongside HTTP routing.
- Low-Latency WebSockets & Streaming: Real-time telemetry, chat engines, and financial quote tickers.
- Resource-Constrained Edge Services: Zero-cost abstraction web services requiring minimal resident memory.
Quick Start
use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder};
use serde::{Deserialize, Serialize};