Loading…

Creating a Chat Server with async Rust and Tokio /

Building a chat server is a great way to learn the Tokio library because a chat server forces you to think about concurrent IO, which is the core purpose of Tokio. Lily demonstrates how you can spawn background tasks to manage independent network streams, and use tokio::select! to concurrently poll...

Full description

Bibliographic Details
Main Author: Mara, Lily (Author, VerfasserIn.)
Corporate Author: Safari, an O'Reilly Media Company (Contributor, MitwirkendeR.)
Format: Video
Language:Inglés
Published: [Erscheinungsort nicht ermittelbar] : Manning Publications, 2021
Edition:1st edition.
Online Access:Texto completo (Requiere registro previo con correo institucional)
Description
Summary:Building a chat server is a great way to learn the Tokio library because a chat server forces you to think about concurrent IO, which is the core purpose of Tokio. Lily demonstrates how you can spawn background tasks to manage independent network streams, and use tokio::select! to concurrently poll tasks which require a shared state. The lessons learned here can be applied generally to all kinds of asynchronous coding challenges in Rust. From the author of Refactoring to Rust.
Item Description:Online resource; Title from title screen (viewed April 6, 2021).
Physical Description:1 online resource (1 video file, circa 54 min.)