Hands-On Microservices with Rust: Build, test, and deploy scalable and reactive microservices with Rust 2018
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)
-
$66230天自製操作系統【附代碼光盤30天從零開始編寫圖形操作系統】
-
$500$390 -
$520$411 -
$1,980$1,881 -
$400$340 -
$1,750$1,663 -
$680$578 -
$580$458 -
$880$748 -
$450$383 -
$650$514 -
$980$774 -
$1,810$1,720 -
$620$527 -
$414$393 -
$1,360$1,292 -
$520$411 -
$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 構建、部署和測試微服務
- 探索開發微服務的高級技術,如演員模型、請求路由和線程
書籍描述:
微服務架構已成為構建基於網絡的應用程序的事實標準模式。Rust 是一種非常適合構建微服務的語言。它是一種新的系統編程語言,提供了一個實用且安全的替代方案,適用於 C 語言。
本書描述了使用 Rust 編程語言進行網絡開發,並將帶您快速上手現代網絡框架和 crate,並提供了創建 RESTful 微服務的示例。您將深入探討反應式編程和異步編程,並將您的網絡應用程序拆分為一組並發的演員。本書提供了幾個可管理內存分配的 HTTP 處理示例。您將學習無狀態高性能微服務,這些微服務非常適合計算或緩存任務,並了解充滿持久數據和數據庫交互的有狀態微服務。隨著學習的深入,您將學習如何使用 Rust 宏來描述應用程序的業務或協議實體,並將它們編譯成本地結構體,以便在服務器的 CPU 幫助下以全速執行。
最後,您將通過示例了解如何測試和調試微服務,並將它們打包成小型的單體二進制文件,或將它們放入容器並部署到現代雲平台,如 AWS。
您將學到什麼:
- 熟悉利用 Rust 進行網絡編程
- 掌握各種 Rust crate,如 hyper、Tokio 和 Actix
- 使用 Rust 探索 RESTful 微服務
- 理解如何使用 Docker 將 Rust 代碼打包到容器中
- 熟悉反應式微服務
- 將您的微服務部署到現代雲平台,如 AWS
本書適合對 Rust 有基本知識並希望學習如何構建、測試、擴展和管理 Rust 微服務的開發人員。不需要先前在 Rust 中編寫微服務的經驗。
目錄:
1. Rust 微服務簡介
2. 使用 hyper crate 開發微服務
3. 日誌記錄和配置微服務
4. 使用 Serde Crate 進行數據序列化和反序列化
5. 使用 Futures Crate 了解異步操作
6. 反應式微服務-提高容量和性能
7. 與數據庫的可靠集成
8. 使用對象關係映射與數據庫交互
9. 使用框架進行簡單的 REST 定義和請求路由
10. 微服務中的後台任務和線程池
11. 使用演員和 actix crate 進行並發
12. 可擴展的微服務架構
13. 測試和調試 Rust 微服務
14. 微服務的優化
15. 將服務器打包到容器中
16. Rust 微服務的 DevOps-持續集成和交付
17. 使用 AWS Lambda 進行有界微服務