Rust and WebAssembly

The Sidecar Pattern you own this product

This project is part of the liveProject series Rust and WebAssembly Microservices
prerequisites
basic microservice patterns
skills learned
use Dapr to construct complex microservices
Michael Yuan
1 week · 6-8 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • share your subscription with another person
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

UMET Inc.’s mission to modernize its software infrastructure has been a great success. The e-commerce company now uses Rust microservices that run in lightweight Wasm containers so that they can be deployed anywhere in the cloud. However, as more microservices are created, the overhead for managing them is becoming a problem. Using the Distributed Application Runtime (Dapr) sidecar, a commonly used design pattern, you’ll create a proof of concept (PoC) that demonstrates the pattern’s benefits, including reducing the complexity of connecting multiple microservices and infrastructure services (e.g. databases and web proxies). When you’re finished, you’ll have refactored UMET’s microservices to work with Dapr, reducing the overhead required to manage them.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Michael Yuan

Dr. Michael Yuan is the founder and maintainer of the open-source WasmEdge project—one of the most popular WebAssembly runtimes for server and edge applications. He’s the author of five books on software engineering and a frequent speaker at conferences, including KubeCon, Open Source Summit, QCon, and Rust Conf. He’s also the creator of flows.network, a serverless automation platform for AIOps and LLMOps. He holds a PhD in Astrophysics from the University of Texas at Austin and has been designing and implementing enterprise applications and server-side software infrastructure for over 20 years.

prerequisites

This liveProject is for developers who are interested in learning how to refactor microservices with Dapr, reducing complexity and management overhead. To begin these liveProjects you’ll need to be familiar with the following:

TOOLS
  • Rust programming basics (syntax, standard libraries, and building tools such as cargo and crates.io)
  • Linux basics (use the command line, sudo, and open/map ports to the outside world)
  • Basics of Git, GitHub, and GitHub Actions
  • GitHub account (registration is free)
  • Rust and Cargo toolchain
  • WasmEdge Runtime
  • Docker basics (commands, Dockerfile structure, Docker Compose, and the docker-compose.yml file)
TECHNIQUES
  • Basics of typical HTTP-based web services
  • Basics of the 3-tier architecture for web applications
  • Exchange data with a web service using JSON
  • Use JSON in the frontend JavaScript framework

you will learn

In this liveProject, you’ll learn how to refactor microservices with Dapr, reducing complexity and management overhead.

  • The sidecar design pattern for microservices
  • Use Dapr as sidecars for Wasm-based microservices
  • Work with the Dapr Rust SDK for WasmEdge
  • Access basic Dapr features such as service invocation, state store, and secrets store from a WasmEdge microservice

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • The Sidecar Pattern project for free