Practical Microservices: Build Event-Driven Architectures with Event Sourcing and CQRS (Paperback)
暫譯: 實用微服務:使用事件來源和 CQRS 建立事件驅動架構 (平裝本)

Garofolo, Ethan

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2020-05-19
  • 定價: $1,600
  • 售價: 8.8$1,408
  • 語言: 英文
  • 頁數: 250
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1680506455
  • ISBN-13: 9781680506457
  • 相關分類: Microservices 微服務SOA
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

MVC and CRUD make software easier to write, but harder to change. Microservice-based architectures can help even the smallest of projects remain agile in the long term, but most tutorials meander in theory or completely miss the point of what it means to be microservice-based. Roll up your sleeves with real projects and learn the most important concepts of evented architectures. You'll have your own deployable, testable project and a direction for where to go next.

Much ink has been spilled on the topic of microservices, but all of this writing fails to accurately identity what makes a system a monolith, define what microservices are, or give complete, practical examples, so you're probably left thinking they have nothing to offer you. You don't have to be at Google or Facebook scale to benefit from a microservice-based architecture. Microservices will keep even small and medium teams productive by keeping the pieces of your system focused and decoupled.

Discover the basics of message-based architectures, render the same state in different shapes to fit the task at hand, and learn what it is that makes something a monolith (it has nothing to do with how many machines you deploy to). Conserve resources by performing background jobs with microservices. Deploy specialized microservices for registration, authentication, payment processing, e-mail, and more. Tune your services by defining appropriate service boundaries. Deploy your services effectively for continuous integration. Master debugging techniques that work across different services. You'll finish with a deployable system and skills you can apply to your current project.

Add the responsiveness and flexibility of microservices to your project, no matter what the size or complexity.

What You Need:

While the principles of this book transcend programming language, the code examples are in Node.js because JavaScript, for better or worse, is widely read. You'll use PostgreSQL for data storage, so familiarity with it is a plus. The books does provide Docker images to make working with PostgreSQL a bit easier, but extensive Docker knowledge is not required.

商品描述(中文翻譯)

MVC 和 CRUD 使得軟體開發變得更容易,但卻使得修改變得更困難。基於微服務的架構可以幫助即使是最小的專案在長期內保持敏捷,但大多數教程在理論上游移不定,或完全錯過了微服務架構的真正意義。捲起袖子,通過實際專案學習事件驅動架構中最重要的概念。你將擁有一個可部署、可測試的專案,以及下一步的方向。

關於微服務的討論已經有很多,但這些寫作都未能準確識別出什麼使系統成為單體,定義微服務是什麼,或提供完整的實用範例,因此你可能會覺得它們對你沒有任何幫助。你不必在 Google 或 Facebook 的規模下才能從微服務架構中受益。微服務將使即使是小型和中型團隊也能保持生產力,因為它們能夠讓系統的各個部分專注且解耦。

了解基於消息的架構的基本概念,將相同的狀態以不同的形式呈現以適應當前任務,並學習什麼使某個系統成為單體(這與你部署了多少台機器無關)。通過微服務執行背景作業以節省資源。部署專門的微服務來處理註冊、身份驗證、支付處理、電子郵件等。通過定義適當的服務邊界來調整你的服務。有效地部署你的服務以實現持續集成。掌握跨不同服務的除錯技術。你將完成一個可部署的系統,並獲得可以應用於當前專案的技能。

無論專案的大小或複雜性如何,將微服務的響應性和靈活性添加到你的專案中。

你需要的:

雖然本書的原則超越了程式語言,但代碼範例使用 Node.js,因為 JavaScript 無論好壞都被廣泛閱讀。你將使用 PostgreSQL 進行數據存儲,因此熟悉它會是一個加分項。本書提供了 Docker 映像,以使使用 PostgreSQL 更加方便,但不需要廣泛的 Docker 知識。

作者簡介

Ethan's love of computer programming began at age 4 when his dad taught him to make the family TI-99/4A beep. For the past 12 years Ethan has worked professionally up and down the abstraction hierarchy, from junior developer up to platform architect, finally settling into microservice-based architectures for the past 3 years.

作者簡介(中文翻譯)

Ethan 對電腦程式設計的熱愛始於 4 歲,那時他的父親教他如何讓家裡的 TI-99/4A 發出聲音。在過去的 12 年中,Ethan 在抽象層級上從初級開發人員一路工作到平台架構師,最後在過去的 3 年中專注於微服務架構。