Building a Web Application with Rust
summary
A Rust web comment service is built using Actix-web on Tokio for the server, Serde for typed request extraction, Diesel with SQLite and r2d2 for persistence, html5ever for HTML sanitization, an SMTP client for notifications, Prometheus metrics, and structured logging. The talk presents concrete implementation details, notes Rust’s ecosystem size (~20k crates, 608M downloads), and mentions the app runs locally as a small statically linked image (~8 MB) though full deployment to the target server is not yet finished.
AI-written summary · about
chapters (14)
- 0:00Rust for web
- 2:29Rust history
- 6:20Learning Rust
- 9:53Choosing Rust project
- 11:21Rust architecture
- 15:32Cargo dependencies
- 18:24Rust code setup
- 23:36Actix web benefits
- 29:22Diesel database
- 31:25Logging
- 33:55Request tracing
- 35:39Prometheus monitoring
- 37:46Lightweight Docker images
- 39:49Conclusion
related talks
27mThe State of Rust Web Frameworks: Pros, Cons & Use Cases
36mWeb development with Rust, is it ready? Is it even useful?
01h 00mThe Future of Rust Web Applications
25mWTF, Rust for Web Development??
47mMy First Service in Rust
01h 13mRust-Powered Fullstack GraphQL: From Actix-Web & Juniper Server to WASM Yew Client
23mTips for Writing a Web Server and Beyond
24m"Web Sites, Web Apps, and Web Assembly"
