Название: Rust Projects - Write a Redis Clone: Explore asynchronous programming with the actor model using Rust and Tokio Автор: Leonardo Giordani Издательство: Leanpub Год: 2024-10-16 (Release 1.0.0) Страниц: 147 Язык: английский Формат: pdf (true), epub Размер: 10.1 MB
Explore the power of Rust with "Rust Projects: Write a Redis Clone". This hands-on guide takes you through building a Redis-inspired database from the ground up, introducing key programming concepts like TCP connections, the RESP protocol, and concurrency.
Following the CodeCrafters challenge, this book gradually builds your skills, making complex topics accessible. Whether you're new to Rust or looking to deepen your understanding, this project-based journey offers practical, real-world insights into modern systems programming.
"Rust Projects: Write a Redis Clone" is a hands-on guide for building a Redis-like database while mastering Rust. The book follows the CodeCrafters challenge of the same name. Readers will start by learning concepts like binding to TCP ports and setting up a server, progressively covering more complex tasks, such as handling multiple client connections and implementing key Redis commands.
The book introduces the RESP protocol, covering how to parse and manage binary data and implement basic Redis commands like GET and SET. It also covers how to implement active and passive key expiry mechanisms. The book culminates with an overview of the actor model and a concurrency implementation that simplifies the management of shared resources.
"Rust Projects: Write a Redis Clone" is more than a technical manual; it's a project-based journey through Rust. With plans to cover advanced features like replication and transactions, this book serves as a valuable resource for Rust enthusiasts eager to build real-world applications from scratch.
Скачать Rust Projects - Write a Redis Clone
|