Hands-On Microservices with Rust: Build, test, and deploy scalable and reactive microservices with Rust 2018
暫譯: 實作微服務與 Rust:構建、測試及部署可擴展且具反應性的微服務
Denis Kolodin
- 出版商: Packt Publishing
- 出版日期: 2019-01-31
- 定價: $1,500
- 售價: 9.5 折 $1,425
- 語言: 英文
- 頁數: 520
- 裝訂: Paperback
- ISBN: 1789342759
- ISBN-13: 9781789342758
-
相關分類:
Microservices 微服務、SOA、Rust 語言、JVM 語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$2,500$2,375 -
$300$270 -
$2,090Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation (Hardcover)
-
$779$740 -
$500$390 -
$520$411 -
$2,000$1,900 -
$400$340 -
$1,663Mastering Rust: Learn about memory safety, type system, concurrency, and the new features of Rust 2018 edition, 2/e (Paperback)
-
$680$578 -
$580$493 -
$880$695 -
$450$383 -
$650$514 -
$980$774 -
$1,830$1,739 -
$620$527 -
$414$393 -
$1,292Docker for Developers
-
$520$468 -
$654$621 -
$480$432 -
$505PostgreSQL 技術內幕:事務處理深度探索
-
$774$735 -
$680$537
相關主題
商品描述
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
商品描述(中文翻譯)
使用 Rust 開發和部署高效能微服務的全面指南
主要特點
- 開始您的微服務之旅,並獲得使用 RUST 2018 開發微服務的更廣泛視角,
- 使用 AWS 建立、部署和測試微服務
- 探索開發微服務的進階技術,如 Actor 模型、請求路由和執行緒
書籍描述
微服務架構正在全球範圍內迅速普及,成為構建基於網頁的應用程式的事實標準。Rust 是一種特別適合構建微服務的語言。它是一種新的系統程式語言,提供了一種實用且安全的替代 C 的選擇。
本書描述了使用 Rust 程式語言進行網頁開發,並將幫助您快速上手現代網頁框架和 crates,並提供 RESTful 微服務創建的範例。您將深入了解反應式編程和非同步編程,並將您的網頁應用程式拆分為一組並發的 Actor。本書提供了幾個 HTTP 處理範例,並進行可管理的記憶體分配。您將學習無狀態的高效能微服務,這些微服務非常適合計算或快取任務,並了解有狀態的微服務,這些微服務充滿了持久數據和數據庫交互。隨著進展,您將學習如何使用 Rust 宏來描述我們應用程式的業務或協議實體,並將其編譯為本地結構,這將在伺服器的 CPU 幫助下以全速執行。
最後,您將通過範例學習如何測試和除錯微服務,並將它們打包成一個小型的單體二進位檔,或將其放入容器並部署到現代雲平台,如 AWS。
您將學到什麼
- 熟悉利用 Rust 進行網頁編程
- 掌握各種 Rust crates,如 hyper、Tokio 和 Actix
- 探索使用 Rust 的 RESTful 微服務
- 了解如何使用 Docker 將 Rust 代碼打包到容器中
- 熟悉反應式微服務
- 將您的微服務部署到現代雲平台,如 AWS
本書適合誰
本書適合對 RUST 有基本了解的開發者,並希望學習如何構建、測試、擴展和管理 RUST 微服務。不需要具備使用 RUST 編寫微服務的先前經驗。
目錄
- Rust 微服務簡介
- 使用 hyper crate 開發微服務
- 微服務的日誌記錄和配置
- 使用 Serde crate 進行數據序列化和反序列化
- 理解 Futures crate 的非同步操作
- 反應式微服務 - 提高容量和性能
- 與數據庫的可靠整合
- 使用物件關聯映射與數據庫互動
- 使用框架進行簡單的 REST 定義和請求路由
- 微服務中的背景任務和執行緒池
- 使用 Actor 和 actix crate 涉及並發性
- 可擴展的微服務架構
- 測試和除錯 Rust 微服務
- 微服務的優化
- 將伺服器打包到容器中
- Rust 微服務的 DevOps - 持續集成和交付
- 使用 AWS Lambda 的有界微服務