YoVDO

Techniques for Writing Concurrent Applications with Asynchronous I/O in Rust

Offered By: Rust via YouTube

Tags

Rust Courses Concurrent Programming Courses Multi-Threading Courses Multithreading Courses Event Loop Courses API Design Courses Futures Courses Network Programming Courses Web Frameworks Courses Tokio Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for writing concurrent applications with asynchronous I/O in this 32-minute Rust conference talk. Delve into the comparison between asynchronous and traditional synchronous approaches, examining how they impact application architecture. Learn to implement asynchronous I/O in multi-threaded concurrent applications, starting with a high-level overview before diving into code examples. Discover useful code idioms and best practices for designing ergonomic Rust APIs, including methods for storing callbacks with unique types, calling them from different threads, and achieving lifetimes shorter than 'static in threads. Gain insights from real-world experience in developing a Web framework using the asynchronous version of Hyper, with principles applicable to lower-level libraries and other protocol stacks.

Syllabus

Intro
Who uses asynchronous IO
Synchronous IO
Rust
Asynchronous IO
Advantages of asynchronous IO
asynchronous IO in Rest
Metal IO
Echo Server
Why Tokyo
Portal
Stream
Futures
Future CPU Pool
About Tokyo
Event loop implementation
Connection handling
Use case identification protocol
Invalid port
First solution
Problems
Tokyo Service
SimpleService
Conclusion


Taught by

Rust

Related Courses

Data Plane Programming
Karlstad University via Independent
Networking with Python: Socket Programming for Communication
Raspberry Pi Foundation via FutureLearn
Dart Masterclass Programming Course: iOS/Android Bible
Udemy
Learn Nodejs by building 12 projects
Udemy
jQuery Masterclass Course: JavaScript and AJAX Coding Bible
Udemy