Microservices with Rust and Tokio
HomeSlides

Microservices with Rust and Tokio

TalkSlidesRust

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