Microservices with Rust and Tokio
HomeSlides

Microservices with Rust and Tokio

Stefan Baumgartner

Stefan on Mastodon

More on Talk, Slides, Rust

Slides and Materials for a workshop on how to write microservices in Rust.

Workshop Contents:

  • Introduction to Tokio
    • Asynchronous Rust in-depth
    • Tokio as a library and ecosystem
    • Using channels
    • Helper macros like select! and join!
  • Axum from the ground up
    • Custom Handlers
    • Global State
    • FromRequest and IntoResponse
    • Extractors
  • Custom Tower services for Axum
    • Logging
    • Timeouts
    • Working with tower_http
  • Tracing and Monitoring
    • Instrumenting
    • Async gotchas
    • Open Telemetry
  • Builds and Deployments

Each chapter concludes with tasks for the audience.

Target audience: People with familiarity in Rust and basic networking (TCP, HTTP; knowing what a web-server does).

Expected workshop duration: full-day, 2-day

Resources

Public presentations

More articles on Talk

Stay up to date!

3-4 updates per month, no tracking, spam-free, hand-crafted. Our newsletter gives you links, updates on oida.dev, conference talks, coding soundtracks, and much more.