/Hands-On-Microservices-with-Rust

Hands-On Microservices with Rust 2018, published by Packt

Primary LanguageRustMIT LicenseMIT

Hands-On Microservices with Rust

Hands-On Microservices with Rust

This is the code repository for Hands-On Microservices with Rust, published by Packt.

Build, test, and deploy scalable and reactive microservices with Rust 2018

What is this book about?

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 covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

let server = builder.serve(|| {
 service_fn_ok(|_| {
 Response::new(Body::from("Almost microservice..."))
 })
});

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-17).

Software and Hardware List

Chapter Software required OS required
1-17 Rust 1.31 Windows, Mac OS X, and Linux (Any)
1-17 Docker CE (18.09.1) Windows, Mac OS X, and Linux (Any)
1-17 Docker Compose (1.23.2) Windows, Mac OS X, and Linux (Any)
1-17 TeamCity (2018.2) - Professional Server License Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know 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.

Suggestions and Feedback

Click here if you have any feedback or suggestions.