Rust Microservice in Containers
summary
Rust microservice compiles with cargo into a native binary, uses tonic for gRPC and protocol buffers, and pairs with an Express frontend that calls the service over gRPC. A naive single-stage image inflates to ~1 GB; a multi-stage Dockerfile plus cargo-chef extracts a small runtime binary but costs a slow first build (around 7–8 minutes) due to dependency compilation. The repo shows a working getAll mountains RPC; other CRUD methods are stubbed and the live demo hits registry/push failures.
AI-written summary · about
chapters (6)
- 0:00Introduction and overview
- 10:30Why Rust and its features
- 20:23Distillation pattern for containers
- 30:37gRPC and protocol buffers
- 37:05Hands-on demo setup
- 54:31Resources and contact info








