Implementing Event-driven Microservices Architecture in .NET 7: Develop event-based distributed apps that can scale with ever-changing business demand
暫譯: 在 .NET 7 中實現事件驅動的微服務架構:開發可隨著不斷變化的業務需求擴展的事件驅動分散式應用程式
Garverick, Joshua, Dean McIver, Omar
- 出版商: Packt Publishing
- 出版日期: 2023-03-17
- 售價: $1,880
- 貴賓價: 9.5 折 $1,786
- 語言: 英文
- 頁數: 326
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1803232781
- ISBN-13: 9781803232782
-
相關分類:
.NET、Microservices 微服務、SOA
海外代購書籍(需單獨結帳)
商品描述
Implement modern design patterns that leverage domain-driven data, to achieve resiliency and scalability for data-dependent applications.
Key Features
• Learn the tenets of event-driven architecture, coupled with reliable design patterns, will enable developers to hone skills that will drive knowledge of distributed systems and build a foundation for professional growth.
• Understand how to translate business goals and drivers into a domain model that can be used to further flesh out an application that enables those goals and drivers.
• Through the architectural design process, identify areas to enhance development and ensure operational support.
Book Description
The book will guide you through various hands-on practical examples for implementing event-driven microservices architecture using C#11 and .Net7. This book has been divided into three distinct sections each focusing on different aspects of this implementation.
The first section will cover the new features of .NET 7 that will make developing applications using EDA patterns easier, as well as the sample application that will be used throughout the book and how the core tenets of Domain-Driven Design (DDD) are implemented in .NET 7
The second section will review the various components of local environment setup, containerization of code, testing, deployment, and observability of microservices utilizing an EDA approach.
The third section examines the needs for scalability and service resilience within the application, along with implementation details related to elastic and autoscale components and how proper telemetry helps to automatically drive scaling events. The topic of observability is revisited using examples of service discovery and microservice inventories.
By the end of the book, you will be able to identify and catalog domains, events, and bounded contexts to be used for the design and development of a resilient microservices architecture.
What you will learn
• Learn about .NET 7 and how it enables the development of applications using EDA
• Understand messaging protocols, producer/consumer patterns, and how to implement them in .NET 7
• Test and deploy applications written in .NET 7 and designed using EDA principles
• Account for scaling and resiliency in microservices
• Collect and learn from telemetry at the platform and application level
Who This Book Is For
This book will help .NET Developers and architects looking to leverage or pivot to microservices while utilizing a domain-driven event model
商品描述(中文翻譯)
實現現代設計模式,利用以領域為驅動的數據,為依賴數據的應用程序實現韌性和可擴展性。
主要特點
• 學習事件驅動架構的基本原則,結合可靠的設計模式,將使開發人員能夠磨練技能,增進對分散式系統的理解,並為專業成長奠定基礎。
• 理解如何將商業目標和驅動因素轉化為可以用來進一步完善應用程序的領域模型,以實現這些目標和驅動因素。
• 通過架構設計過程,識別可增強開發的領域並確保運營支持。
書籍描述
本書將通過各種實用的實踐範例,指導您使用 C#11 和 .NET 7 實現事件驅動微服務架構。本書分為三個不同的部分,每個部分專注於此實現的不同方面。
第一部分將涵蓋 .NET 7 的新特性,這些特性將使使用 EDA 模式開發應用程序變得更容易,以及將在整本書中使用的示例應用程序,並介紹領域驅動設計(DDD)的核心原則如何在 .NET 7 中實現。
第二部分將回顧本地環境設置、代碼容器化、測試、部署和利用 EDA 方法的微服務可觀察性的各種組件。
第三部分將檢查應用程序中對可擴展性和服務韌性的需求,以及與彈性和自動擴展組件相關的實現細節,以及如何通過適當的遙測自動驅動擴展事件。可觀察性主題將通過服務發現和微服務清單的示例重新探討。
在本書結束時,您將能夠識別和編目用於設計和開發韌性微服務架構的領域、事件和邊界上下文。
您將學到的內容
• 了解 .NET 7 及其如何支持使用 EDA 開發應用程序
• 理解消息協議、生成者/消費者模式,以及如何在 .NET 7 中實現它們
• 測試和部署使用 EDA 原則設計的 .NET 7 應用程序
• 考慮微服務中的擴展性和韌性
• 在平台和應用程序層面收集和學習遙測數據
本書適合誰
本書將幫助希望利用或轉向微服務的 .NET 開發人員和架構師,同時利用以領域為驅動的事件模型。
目錄大綱
1. The Sample Application
2. The Producer-Consumer Pattern
3. Message Brokers
4. Domain Model and Asynchronous Design
5. Containerization and Local Environment Setup
6. Localized Testing and Debugging of Microservices
7. Microservice Observability
8. CI/CD Pipelines and Integrated Testing
9. Fault Injection and Chaos Testing
10. Modern Design Patterns for Scalability
11. Minimizing Data Loss
12. Service and Application Resiliency
13. Telemetry Capture and Integration
14. Observability Revisited
目錄大綱(中文翻譯)
1. The Sample Application
2. The Producer-Consumer Pattern
3. Message Brokers
4. Domain Model and Asynchronous Design
5. Containerization and Local Environment Setup
6. Localized Testing and Debugging of Microservices
7. Microservice Observability
8. CI/CD Pipelines and Integrated Testing
9. Fault Injection and Chaos Testing
10. Modern Design Patterns for Scalability
11. Minimizing Data Loss
12. Service and Application Resiliency
13. Telemetry Capture and Integration
14. Observability Revisited