Tips for Writing a Web Server and Beyond
summary
Fin is a working non‑trivial web server implemented for Rust that demonstrates concrete decisions: Postgres for storage, Diesel tradeoffs vs raw SQL, and a puskás Postgres mapper derive to avoid brittle row indexing. Migrations run both for runtime and for tests, where integration tests create a new database per test to allow parallel runs. Logging uses slog with structured key/value drains and considers tracing for async distributed contexts. Error strategy is a single app error type with codes and user messages to shrink the surface area.
AI-written summary · about
chapters (5)
related talks
42mBuilding a Web Application with Rust
29mEnd-to-end testing your Rust backend
49mSQLPage — Building a full web application with nothing but Postgres and SQL queries
25mThe Unglamorous Side of Rust Web Development
36mWeb development with Rust, is it ready? Is it even useful?
25mWTF, Rust for Web Development??
58mDeveloping Web Applications with Haskell
01h 00mThe Future of Rust Web Applications
