Zero To Production In Rust

An introduction to backend development

Zero To Production is the ideal starting point for your journey as a Rust backend developer.
You will learn by doing: you will build a fully functional email newsletter API, starting from scratch.

You'll learn how to:

  • Navigate and leverage Rust's crates ecosystem
  • Structure your application to make it modular and extensible
  • Write tests, from single units to full-blown integration tests
  • Enforce your domain invariants using Rust's type system
  • Authenticate and authorize users of your API
  • Implement a robust error handling strategy
  • Observe the state of your application using structured logs
  • Set up an extensive continuous integration and continuous deployment pipeline for your Rust projects

All code comes attached to the book, tests included.

Book cover

The Details

The book is made of 11 chapters, for a grand total of ~600 pages.
The book is available both as a paperback and an ebook (PDF, ePUB, MOBI).

If you choose to buy the ebook version, you will receive free updates (errata, new sections, etc.) for the lifetime of the book.
The source code for the book project is publicly available on GitHub.

What People Are Saying

Sold more than 6000 copies.
Over 300 5⭐-reviews on Gumroad.

Rust doesn’t solve all of your problems, but it has made an effort to eliminate whole categories of mistakes.

The title and structure of this book reflects one of the core values of Rust: to find its worth in writing production software that is solid and works. Rust shows its strength in the care and knowledge that went into it to write stable software productively. Such an experience is best found with a guide and Luca is one of the best guides you can find around Rust.

Florian Glitcher
Management Director at Ferrous Systems and Co-Founder of the Rust Foundation

"Zero to Production in Rust" kept us focused on the parts of Rust that we needed to get the job done well.

Marcus Rådell
Director of Engineering at Deversify

If you are curious about Rust, but you are scared by the complexity: this book is for you!

The book has simple and demonstrative explanations. It helped me to clear out the doubts left by the Rust book and "Rust by example".

Hugo 'Lumikkode' Regibo
Software Engineer

"Zero Production in Rust" is the best way to kick off Rust adoption at your company, whether you're a startup or an enterprise organisation.

Jeremy Hindle
Co-Founder of Integrity, Custodian & Cloudline

This book bridges the gap between "contrived tutorials" and "realistic projects" for building web APIs in Rust.

Along the way I got to learn about best practices for deploying web APIs, including security and DevOps. After finishing the book, I now feel comfortable tackling real-world projects in Rust!

MikeH

author image

About the author

My name is Luca Palmieri and I’m a Senior Engineer at AWS.
I am a co-organiser of the Rust London User Group, an OpenSource contributor and a public speaker.

Zero To Production In Rust is informed by my experience at TrueLayer, running tens of Rust production services to power our core payment platform.

I am also the author of several Rust crates and a workshop to get people started with Rust.

I have been speaking regularly at meetups and conferences. You can find the recordings of my past talks here.

You can find me on Twitter, on GitHub or on my blog.

Frequently Asked Questions

Can I read the book if I have never used Rust before?

Yes!

Zero To Production does its best to explain the main language constructs and concepts along the way.

If you have previous experience in another modern programming language and you keep the Rust book close you should not have any issue following along.
If you are not sure, check out the book sample before buying!

Do I need previous experience in backend development?

Not at all!

Zero To Production is designed as introduction to backend development: we do spend a significant amount of time talking about specific libraries and tools (we are doing it for real, after all!), but the underlying concepts and the rationale behind our choices are thoroughly explained, without assuming that the reader has worked on similar problems before. Check the book sample for a taste!

I like to say that Zero To Production shows you how the pros do it: we talk at length about observability, ease of operation, system design issues - topics that are often skipped or merely mentioned in "hands-on" backend books.

What if I buy it and then I hate it?

If you bought the ebook version, send an email to contact @ lpalmieri.com within 15 days from the purchase and I'll give you a refund. No questions asked.
If you bought the paperback version, you need to handle the refund/return process via Amazon's portal.

What if I want to buy a copy of the book for my whole team?

On Gumroad's checkout page you can find both a team (up to 8) and a company (>8) license for the ebook version!
There are no group licenses for the paperback version.

The book looks cool, but it's way too expensive for me!

If you are a student, unemployed or you just can't afford it right now send an email to contact @ lpalmieri.com - we'll sort it out!

If I find an error or a typo, how do I report it?

Send an email to contact @ lpalmieri.com - I am extremely grateful to all readers reporting issues!