Rust as a Service

Rust as a Service

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 59 Lessons (6h 13m) | 1.71 GB

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.

Table of Contents

1 Introduction
2 Minimal HTTP Server
3 Understanding the Service Stack
4 Path Extraction
5 Query Extraction
6 Header Extraction & 2.3.4 More Extractors
7 Add a Simple Tower Layer: State
8 Add a Simple Tower Layer (Mutable State)
9 Multiple States
10 Quick Recap on State and Layers
11 Nesting Multiple Routers
12 Nested Routers with State
13 Calling Other Services
14 Returning Status Codes
15 Using IntoResponse and 2.13 Error Handling with IntoResponse
16 Quick Recap on Nesting, Making Calls and Responses
17 Serving Static Content with Tower
18 Simple Header-Based Authentication
19 Simple Header-Based Auth with Middleware
20 Middleware Auth with Injection
21 Selectively Applying Layers
22 Router Layers
23 Layer Recap
24 Minimal Example
25 Logging Axum/Tower
26 Timing Spans
27 Axum Spans
28 Logging to a File
29 Structured Logging to JSON
30 OpenTelemetry & 3.7.1 Hello Telemetry
31 OpenAPI Documentation
32 Environment Variables with .env
33 The Config Crate
34 Loading Config via HTTP
35 CLI configuration with Clap
36 Hello Tonic
37 Hello Tonic – Project Definition and Build
38 Hello Tonic – The Server
39 Hello Tonic – The Client
40 gRPC Streaming and 6.6 Protocol Definition
41 gRPC Streaming – The Server
42 gRPC Streaming – The Client
43 Recap So Far
44 Authentication
45 Tracing
46 When to use gRPC
47 Minimal Echo Server
48 A native WS client
49 JSON
50 Service Deployment
51 Build a Test Service & 8.2 Native Host Deployment
52 Docker Deployment
53 Service Design
54 Understanding Your Company Architecture
55 Designing Individual Services (9.2.1, 9.2.2, 9.2.3, 9.2.4, 9.2.5)
56 Combining Services into a Modular Monolith
57 Service Exposure
58 Scaling Out
59 Wrap Up

Homepage