Email the Author
You can use this page to email Leonardo Giordani about Rust Projects - Write a Redis Clone.
About the Book
"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.
About the Author
My name is Leonardo Giordani, I was born in 1977 with Star Wars, bash, Apple ][, BSD, Dire Straits, The Silmarillion. I'm interested in operating systems and computer languages, photography, fantasy and science fiction, video and board games, guitar playing, and (too) many other things.
I studied and used several programming languages, from the Z80 and x86 Assembly to Python and Scala. I love mathematics and cryptography. I'm mainly interested in open source software, and I like both the theoretical and practical aspects of computer science.
For 13 years I was a C/Python programmer and DevOps for a satellite imagery company. and I am currently infrastructure engineer at WeGotPOP, a UK company based in London and New York that creates innovative software for film productions.
In 2013 I started publishing some technical thoughts on my blog, The Digital Cat. In 2018 I published my first book with Leanpub, “Clean Architectures in Python”, which has been already downloaded more than 25,000 times.