This course teaches integrating Rust into service-oriented architectures, covering REST server development, data handling, error management, and modularization. You'll learn tracing, automated OpenAPI documentation, configuration for different environments, and alternative connectivity mechanisms like gRPC and WebSockets. Explore deploying a test service in a containerized environment, along with insights into service design, deployment strategies, and scaling. This prepares you for deploying high-performance Rust services in enterprise environments.
Rust as a Service
6h 13m 47s
English
Paid
About the Author: ardanlabs.com
A group of passionate engineers and business professionals focused on solving our client’s problems based on core engineering values and community involvement. To be known as a premier software engineering firm that delivers great value to our customers at every engagement. At Ardan Labs, we strongly believe in our core values of Reliability, Integrity, Transparency and Simplicity. They serve as our modus operandi in everything we do.
Watch Online 59 lessons
0:00
/ #1: 1. Introduction
All Course Lessons (59)
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | 1. Introduction Demo | 05:59 | |
| 2 | 2.1 Minimal HTTP Server | 09:10 | |
| 3 | 2.2 Understanding the Service Stack | 06:59 | |
| 4 | 2.3.1 Path Extraction | 05:44 | |
| 5 | 2.3.2 Query Extraction | 04:11 | |
| 6 | 2.3.3 Header Extraction & 2.3.4 More Extractors | 06:30 | |
| 7 | 2.4 Add a Simple Tower Layer: State | 07:20 | |
| 8 | 2.5 Add a Simple Tower Layer (Mutable State) | 06:19 | |
| 9 | 2.6 Multiple States | 08:57 | |
| 10 | 2.7 Quick Recap on State and Layers | 02:45 | |
| 11 | 2.8 Nesting Multiple Routers | 05:38 | |
| 12 | 2.9 Nested Routers with State | 05:37 | |
| 13 | 2.10 Calling Other Services | 05:36 | |
| 14 | 2.11 Returning Status Codes | 02:45 | |
| 15 | 2.12 Using IntoResponse and 2.13 Error Handling with IntoResponse | 11:52 | |
| 16 | 2.14 Quick Recap on Nesting, Making Calls and Responses | 02:25 | |
| 17 | 2.15 Serving Static Content with Tower | 04:53 | |
| 18 | 2.16 Simple Header-Based Authentication | 04:14 | |
| 19 | 2.17 Simple Header-Based Auth with Middleware | 08:03 | |
| 20 | 2.18 Middleware Auth with Injection | 05:54 | |
| 21 | 2.19 Selectively Applying Layers | 02:18 | |
| 22 | 2.20 Router Layers | 07:06 | |
| 23 | 2.21 Layer Recap | 01:59 | |
| 24 | 3.1 Minimal Example | 05:49 | |
| 25 | 3.2 Logging Axum/Tower | 03:15 | |
| 26 | 3.3 Timing Spans | 05:30 | |
| 27 | 3.4 Axum Spans | 05:52 | |
| 28 | 3.5 Logging to a File | 05:13 | |
| 29 | 3.6 Structured Logging to JSON | 02:21 | |
| 30 | 3.7 OpenTelemetry & 3.7.1 Hello Telemetry | 18:29 | |
| 31 | 4.0 OpenAPI Documentation | 11:41 | |
| 32 | 5.1 Environment Variables with .env | 08:35 | |
| 33 | 5.2 The Config Crate | 11:39 | |
| 34 | 5.3 Loading Config via HTTP | 07:17 | |
| 35 | 5.4 CLI configuration with Clap | 10:08 | |
| 36 | 6.1 Hello Tonic | 06:35 | |
| 37 | 6.2 Hello Tonic - Project Definition and Build | 08:26 | |
| 38 | 6.3 Hello Tonic - The Server | 08:30 | |
| 39 | 6.4 Hello Tonic - The Client | 05:04 | |
| 40 | 6.5 gRPC Streaming and 6.6 Protocol Definition | 04:19 | |
| 41 | 6.7 gRPC Streaming - The Server | 05:04 | |
| 42 | 6.8 gRPC Streaming - The Client | 03:25 | |
| 43 | 6.9 Recap So Far | 01:37 | |
| 44 | 6.10 Authentication | 08:10 | |
| 45 | 6.11 Tracing | 04:02 | |
| 46 | 6.12 When to use gRPC | 02:57 | |
| 47 | 7.1 Minimal Echo Server | 08:53 | |
| 48 | 7.2 A native WS client | 03:12 | |
| 49 | 7.3 JSON | 07:13 | |
| 50 | 8.0 Service Deployment | 05:53 | |
| 51 | 8.1 Build a Test Service & 8.2 Native Host Deployment | 09:18 | |
| 52 | 8.3 Docker Deployment | 07:55 | |
| 53 | 9.0 Service Design | 05:09 | |
| 54 | 9.1 Understanding Your Company Architecture | 09:55 | |
| 55 | 9.2 Designing Individual Services (9.2.1, 9.2.2, 9.2.3, 9.2.4, 9.2.5) | 14:12 | |
| 56 | 9.3 Combining Services into a Modular Monolith | 03:43 | |
| 57 | 9.4 Service Exposure | 03:43 | |
| 58 | 9.5 Scaling Out | 07:33 | |
| 59 | 10.0 Wrap Up | 00:56 |
Unlock unlimited learning
Get instant access to all 58 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscription