Skip to main content

Rust as a Service

6h 13m 47s
English
Paid

Course description

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.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 59 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Rust as a Service

0:00
/
#1: 1. Introduction

All Course Lessons (59)

#Lesson TitleDurationAccess
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

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Rust: Building Reusable Code with Rust from Scratch

Rust: Building Reusable Code with Rust from Scratch

Sources: udemy
Rust is a systems programming language with a focus on safety, especially safe concurrency, supporting both functional and imperative paradigms, syntactically similar to C++, bu...
6 hours 17 minutes 32 seconds
Rust: The Complete Developer's Guide

Rust: The Complete Developer's Guide

Sources: udemy, Stephen Grider
Welcome to the most comprehensive and practical course for learning Rust from scratch! Rust is changing the approach to systems programming with its focus on...
9 hours 25 minutes 40 seconds
Ultimate Rust: Foundations - Next Steps

Ultimate Rust: Foundations - Next Steps

Sources: ardanlabs.com
This course offers the next steps not covered in Ultimate Rust: Foundations that expand on and optimize what you’ve already built.
50 minutes 48 seconds
Ultimate Rust Foundations

Ultimate Rust Foundations

Sources: ardanlabs.com
Ultimate Rust: This course covers many best practices to help you integrate Rust into your workflow, and let Rust’s tooling work for you. It includes formatting, linting, depend...
17 hours 53 minutes 36 seconds
Rust Developer Bootcamp

Rust Developer Bootcamp

Sources: letsgetrusty.com
Who is this Bootcamp for? Experienced Developers trying to switch to Rust. Learn the language of the future. Your time is valuable (literally, $148,688/yr). Learn Rust FAST wit...
9 hours 50 minutes 20 seconds