Practical Microservices: Build Event-Driven Architectures with Event Sourcing and CQRS (Paperback)

Garofolo, Ethan

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2020-05-19
  • 定價: $1,600
  • 售價: 9.0$1,440
  • 語言: 英文
  • 頁數: 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年裡,伊桑從初級開發人員一路上升到平台架構師,最終在過去的3年中專注於基於微服務的架構。