My free book "Rust Projects – Write a Redis Clone" is out
The book by Leonardo Giordani teaches building a Redis-like database using Rust and Tokio, covering essential programming concepts and advanced features, with a 60-day money-back guarantee for purchases.
Read original article"Rust Projects: Write a Redis Clone" by Leonardo Giordani is a practical guide aimed at teaching readers how to build a Redis-like database using Rust and the Tokio framework. The book is currently 40% complete and focuses on asynchronous programming and the actor model. It introduces essential programming concepts such as TCP connections, the RESP protocol, and concurrency, making complex topics more accessible. The project follows the CodeCrafters challenge, allowing readers to progressively learn by implementing key Redis commands like GET and SET, as well as managing client connections and key expiry mechanisms. The book also plans to cover advanced features like replication and transactions, making it a valuable resource for both beginners and those looking to deepen their Rust knowledge. Additionally, it offers a 40% discount code for CodeCrafters.io and includes a 60-day money-back guarantee for purchases. The author, Leonardo Giordani, has a background in various programming languages and has previously published works on technical subjects.
- The book teaches building a Redis-like database using Rust and Tokio.
- It covers essential concepts like TCP connections, RESP protocol, and concurrency.
- The project follows the CodeCrafters challenge for hands-on learning.
- Advanced features like replication and transactions are planned for future updates.
- A 60-day money-back guarantee is offered for purchases.
Related
Rust for Rustaceans
"Rust for Rustaceans" by Jon Gjengset is a book for developers with basic Rust knowledge, focusing on advanced topics, codebases, and programming challenges, praised for clarity but noted for its density.
Rust Atomics and Locks by Mara Bos
Mara Bos's "Rust Atomics and Locks," published by O'Reilly in January 2023, is a 250-page guide on low-level concurrency in Rust, covering atomics, mutexes, and memory ordering for all skill levels.
Master Hexagonal Architecture in Rust
The guide on hexagonal architecture in Rust promotes scalable applications by emphasizing separation of concerns, introducing the repository pattern, and providing practical examples for effective implementation and incremental learning.
How to Learn Rust in 2024
RustRover is a free tool for Rust development, emphasizing Rust's ownership model, memory safety, and performance. The guide suggests using the Rust toolchain and IDEs for beginners, highlighting Rust's growing popularity.
Cursed Rust
The article "Cursed Rust" humorously explores quirks of the Rust programming language, including the `Copy` and `Clone` traits, if statements as place expressions, naming conventions, and the utility of the `&*` operator.
I intend to look into this book as I find the topic interesting. But do feel that it's tackling some of the more cumbersome areas of rust. I'm also curious if there will be an effort to be binary file compatible.
With the Redis licensing kerfuffle and since fork of valkey I wonder about some of the other redis alike databases there are and will be. I think that rust is just a hard fit for this use case. But who knows.
Shall we wait until it reaches 100% first and then people buy it?
Related
Rust for Rustaceans
"Rust for Rustaceans" by Jon Gjengset is a book for developers with basic Rust knowledge, focusing on advanced topics, codebases, and programming challenges, praised for clarity but noted for its density.
Rust Atomics and Locks by Mara Bos
Mara Bos's "Rust Atomics and Locks," published by O'Reilly in January 2023, is a 250-page guide on low-level concurrency in Rust, covering atomics, mutexes, and memory ordering for all skill levels.
Master Hexagonal Architecture in Rust
The guide on hexagonal architecture in Rust promotes scalable applications by emphasizing separation of concerns, introducing the repository pattern, and providing practical examples for effective implementation and incremental learning.
How to Learn Rust in 2024
RustRover is a free tool for Rust development, emphasizing Rust's ownership model, memory safety, and performance. The guide suggests using the Rust toolchain and IDEs for beginners, highlighting Rust's growing popularity.
Cursed Rust
The article "Cursed Rust" humorously explores quirks of the Rust programming language, including the `Copy` and `Clone` traits, if statements as place expressions, naming conventions, and the utility of the `&*` operator.