~/talk

Building composable web services with Axum

Talkat RustLab 2025 · 2025-11-03..11-04· [rust]
links:none on file
slides:none on file

A compact walkthrough of using Axum, Tower and Rust types to keep a growing web service modular: a cat‑daycare example shows Axum extractors as DI with handlers depending on explicit types, traits for swappable storage so tests use an in‑memory Vec while prod uses a DB adapter, and Tower middleware for logging/auth/rate limits to keep concerns out of domain code. Advice includes cargo workspaces to split crates, typed config per state, tracing for observability, and incremental refactor steps that actually work.

AI-written summary · about

  1. 0:00Introduction
  2. 3:39Cat daycare setup
  3. 6:29Architecture matters
  4. 8:16Composable service boundaries
  5. 13:13Rust and Axum tools
  6. 16:52Extractors and handlers
  7. 17:35Middleware with Tower
  8. 18:40Workspaces for scaling
  9. 19:45Stable API contracts
  10. 22:36Database integration
  11. 23:40Observability in Axum
  12. 24:46Refactoring messy services
  13. 26:31Cat daycare evolution
  14. 28:16Key takeaways
  15. 30:12Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.