Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Hands-On Microservices with Rust: Build, test, and deploy scalable and reactive microservices with Rust 2018
Purchase options and add-ons
A comprehensive guide in developing and deploying high performance microservices with Rust
Key Features
- Start your microservices journey and get a broader perspective on microservices development using RUST 2018,
- Build, deploy, and test microservices using AWS
- Explore advanced techniques for developing microservices such as actor model, Requests Routing, and threads
Book Description
Microservice architecture is sweeping the world as the de facto pattern for building web-based applications. Rust is a language particularly well-suited for building microservices. It is a new system programming language that offers a practical and safe alternative to C.
This book describes web development using the Rust programming language and will get you up and running with modern web frameworks and crates with examples of RESTful microservices creation. You will deep dive into Reactive programming, and asynchronous programming, and split your web application into a set of concurrent actors. The book provides several HTTP-handling examples with manageable memory allocations. You will walk through stateless high-performance microservices, which are ideally suitable for computation or caching tasks, and look at stateful microservices, which are filled with persistent data and database interactions. As we move along, you will learn how to use Rust macros to describe business or protocol entities of our application and compile them into native structs, which will be performed at full speed with the help of the server's CPU.
Finally, you will be taken through examples of how to test and debug microservices and pack them into a tiny monolithic binary or put them into a container and deploy them to modern cloud platforms such as AWS.
What you will learn
- Get acquainted with leveraging Rust web programming
- Get to grips with various Rust crates, such as hyper, Tokio, and Actix
- Explore RESTful microservices with Rust
- Understand how to pack Rust code to a container using Docker
- Familiarize yourself with Reactive microservices
- Deploy your microservices to modern cloud platforms such as AWS
Who this book is for
This book is for developers who have basic knowledge of RUST, and want to learn how to build, test, scale, and manage RUST microservices. No prior experience of writing microservices in RUST is assumed.
Table of Contents
- An Introduction to Microservices with Rust
- Developing a Microservice with hyper crate
- Logging and Configuring Microservice
- Data Serialization and Deserialization with the Serde Crate
- Understanding Asynchronous Operations with Futures Crate
- Reactive Microservices - Increasing Capacity and Performance
- Reliable Integration with Databases
- Interaction to Database with Object-Relational Mapping
- Simple REST Definition and Request Routing with Frameworks
- Background tasks and thread pools in Microservices
- Involving concurrency with actors and actix crate
- Scalable Microservices Architecture
- Testing and Debugging Rust Microservices
- Optimization of microservices
- Packing Servers to Containers
- DevOps of Rust Microservices - Continuous Integration and Delivery
- Bounded Microservices with AWS Lambda
- ISBN-101789342759
- ISBN-13978-1789342758
- PublisherPackt Publishing
- Publication dateJanuary 31, 2019
- LanguageEnglish
- Dimensions7.5 x 1.18 x 9.25 inches
- Print length520 pages
Similar items that may deliver to you quickly
Building Microservices with Go: Develop seamless, efficient, and robust microservices with GoPaperbackFREE Shipping by AmazonGet it as soon as Saturday, May 2
Python Microservices Development: Build, test, deploy, and scale microservices in PythonPaperback$3.99 shippingGet it May 28 - Jun 11Usually ships within 11 to 12 days
Building Python Microservices with FastAPI: Build secure, scalable, and structured Python microservices from design concepts to infrastructurePaperbackFREE Shipping by AmazonGet it as soon as Saturday, May 2
Microservices with Go: The expert's guide to building secure, scalable, and reliable microservices with GoPaperbackFREE Shipping by AmazonGet it as soon as Saturday, May 2
Hands-On Microservices in Rust: Build Scalable, Async Web Services with Axum and TokioThomas M. NoblePaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, May 2
Hands-On Microservices with JavaScript: Build scalable web applications with JavaScript, Node.js, and DockerPaperbackFREE Shipping by AmazonGet it as soon as Saturday, May 2
Customers also bought or read
- Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems#1 Best SellerMySQL Guides
Paperback$59.99$59.99FREE delivery Sat, May 2 - Rust for Rustaceans: Idiomatic Programming for Experienced Developers
Paperback$29.49$29.49Delivery Sat, May 2 - Effective Rust: 35 Specific Ways to Improve Your Rust Code
Paperback$45.20$45.20FREE delivery Sat, May 2 - Creative Projects for Rust Programmers: Build exciting projects on domains such as web apps, WebAssembly, games, and parsing
Paperback$48.99$48.99FREE delivery Sat, May 2 - Asynchronous Programming in Rust: Learn asynchronous programming by building working examples of futures, green threads, and runtimes
Paperback$28.90$28.90Delivery Sat, May 2 - Command-Line Rust: A Project-Based Primer for Writing Rust CLIs
Paperback$40.02$40.02FREE delivery Sat, May 2
Editorial Reviews
About the Author
Denis Kolodin has been developing high-loaded network applications for more than 12 years. He has mastered and used different kind of programming languages like C, Java, Python and even Go for developing various applications from high-frequency trading robots to IPTV broadcasting servers. Now he enjoys creating peer-to-peer networking applications inspired by distributed systems based on a blockchain.
He started using Rust way back when version 1.0 was released and was delighted with features the programming language provided: zero-cost abstractions, safe multithreading, high-precision async programming and WebAssembly support. He is the core developer of Yew, a modern Rust framework inspired by Elm and React JS for creating multithreaded frontend apps with WebAssembly
He writes full-stack apps in Rust at his job and is known for his unique problem-solving capabilities when it comes to Rust.
Product details
- Publisher : Packt Publishing
- Publication date : January 31, 2019
- Language : English
- Print length : 520 pages
- ISBN-10 : 1789342759
- ISBN-13 : 978-1789342758
- Item Weight : 1.95 pounds
- Dimensions : 7.5 x 1.18 x 9.25 inches
- Best Sellers Rank: #4,693,134 in Books (See Top 100 in Books)
- #5,409 in Web Development & Design Programming
- #6,123 in Computer Programming Languages
- #10,544 in Programming Languages (Books)
- Customer Reviews:
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on February 15, 2019Format: KindleVerified PurchaseExcellent book. Just getting into second chapter now, but was so impressed with first that I decided to go ahead and review it. This is the book I've been looking for. Real world examples with excellent guidance on using various rust libraries in general, not just how to use rust for microservices, but is excellent from that perspective as well. I've worked through several courses on Udemy, and read lots of online content and watched several conference videos on youtube, but those will only get you so far. Real world examples are the key to really learning a language, and this author took the right approach. The author is also the creator of the Yew framework that's a web assembly UI framework written in rust.
- Reviewed in the United States on September 12, 2020Format: PaperbackVerified PurchaseI skimmed through the book as soon as I got it, and it indeed fills a MASSIVE gap in the existing resources available to learn rust beyond a beginner level. But, I'm about a hundred pages in now, and there are. so. many. typos. Ultimately I can figure out how the sentences were intended to be written, but the editor(s) was clearly asleep at the wheel.
- Reviewed in the United States on December 27, 2020Format: KindleVerified PurchaseThe difference between a blog post and a book is the amount of content... I should feel comfortable at a few chapters that I am learning something. That isn’t the case with this book, a few chapters in and I’m still getting recommendations for using rust instead of learning what makes a good rust micro service. Skip this book as there are more informative blog posts everywhere you look.
Top reviews from other countries
sunilReviewed in India on October 5, 20195.0 out of 5 stars Excellent Book
Format: PaperbackVerified Purchasei recommend this book for every rust developer.
Ivan ChepurnyiReviewed in Germany on April 24, 20195.0 out of 5 stars Provides something technical manual couldn't provide
Format: KindleVerified PurchaseI am usually hesitating to buy a book before reading a lot of reviews, but this time tutorials on async programming in Rust are very cryptic and hard to wrap your head around. I found this book by googling some topics it covers. This book really enlightened me on the implementation of futures and streams and gave me a solid foundation to start writing my own streams.
MarcoReviewed in the United Kingdom on July 21, 20195.0 out of 5 stars Clear and broad overview on useful crates
Format: PaperbackVerified PurchaseThe book covers many different crates that can be used when building microservices in Rust, clearly and with good examples. Given the nature of these repositories (young and not stable yet), it may become outdated soon.
-
FernandoReviewed in Mexico on May 26, 20245.0 out of 5 stars Muy buen libro, un poco atrasado
Format: PaperbackVerified PurchaseMuy buen libro, un poco atrasado pero que puede ayudar mucho a entender los principios de como funcionan los microservicios
Łukasz KReviewed in Poland on May 13, 20222.0 out of 5 stars Unfortunately outdated book and sources…
Format: PaperbackVerified PurchaseUnfortunately outdated book and sources…








