Home
Data Structures and Algorithms
Complexity Analysis
Arrays
Searching & Sorting
Linked Lists
Stacks
Queues
Heaps & Priority Queues
Hashing
Trees
Graphs
Tries
Math & Bit Manipulation
Greedy Algorithms
Backtracking
Dynamic Programming
Summary
About
Dark
Guide contents
Master Tokio Runtime
Getting Started
1.
Introduction: How This Course Works
2.
Threads, Async, and Where Tokio Fits
3.
Your First Tokio Program
Async Foundations
4.
Futures and async/await
5.
Polling, Wakers, and a Tiny Executor
Tasks and Time
6.
Spawning Tasks
7.
join!, try_join!, and Running Work Concurrently
8.
Cancellation, abort, and Panics
9.
select!: Racing Futures
10.
Blocking and CPU-Bound Work
11.
Time: sleep, timeout, and interval
12.
Workshop 1: Tasks and Time
Shared State and Channels
13.
Shared State: Mutex and RwLock
14.
Semaphore, Notify, Barrier, and OnceCell
15.
mpsc Channels
16.
oneshot, broadcast, and watch
17.
Workshop 2: Shared State and Channels
Async I/O
18.
AsyncRead and AsyncWrite
19.
TCP Clients and Servers
20.
UDP and Unix Sockets
21.
Files, Processes, and Signals
22.
Workshop 3: Async I/O
Concurrency Patterns
23.
JoinSet and Structured Concurrency
24.
Graceful Shutdown
25.
Backpressure and Load Shedding
26.
Actors, Worker Pools, and Pipelines
27.
Workshop 4: Concurrency Patterns
Streams and Protocols
28.
Streams
29.
Bytes and Framing
30.
Codecs with tokio-util
31.
Workshop 5: Streams and Protocols
Runtime Internals
32.
Writing Futures and Streams by Hand
33.
Runtime Builder and the Scheduler
34.
The Reactor, the Timer Wheel, and Task Layout
35.
Workshop 6: Runtime Internals
Production Tokio
36.
Error Handling in Async Code
37.
Tracing and Observability
38.
Testing Async Code
39.
Performance and Tuning
40.
Common Pitfalls and How to Debug Them
41.
The Tokio Ecosystem
42.
Workshop 7: Production Practice
Interview Practice
43.
Interview Questions: Concepts, Internals, and Production
44.
Interview Coding, Bug-Spotting, and Design Questions
Home
/
Master Tokio Runtime
/
Streams and Protocols
Streams and Protocols
Streams, byte buffers, framing, and codecs.
4 lessons
28.
Streams
29.
Bytes and Framing
30.
Codecs with tokio-util
31.
Workshop 5: Streams and Protocols