Learn Microservices with Spring Boot: A Practical Approach to Restful Services Using an Event-Driven Architecture, Cloud-Native Patterns, and Containe
暫譯: 使用 Spring Boot 學習微服務:基於事件驅動架構、雲原生模式和容器的實用 RESTful 服務方法

Macero García, Moisés

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

相關主題

商品描述

Build Java-based microservices architecture using the Spring Boot framework by evolving an application from a small monolith to an event-driven architecture composed of several services. This revised book follows an incremental approach in teaching the structure of microservices, test-driven development, and common patterns in distributed systems such as service discovery, load balancing, routing, centralized logs, per-environment configuration, and containerization.
This updated book now covers what's been added to the latest Spring Boot release, including support for the latest Java SE; more deep-dive knowledge on how Spring Boot works; testing with JUnit 5; changes in the Spring Cloud tools used for service discovery and load balancing; building Docker images using cloud-native buildpacks; a basic centralized logging solution; E2E traceability with Sleuth; centralized configuration with Consul; many dependency upgrades; support for Spring Data Neumann; and more.

Author Moises Macero uses a pragmatic approach to explain the benefits of using this type of software architecture, instead of keeping you distracted with theoretical concepts. He covers some of the state-of-the-art techniques in computer programming, from a practical point of view. You'll focus on what's important, starting with the minimum viable product but keeping the flexibility to evolve it.

What You Will Learn

  • Build microservices with Spring Boot
  • Discover architecture patterns for distributed systems such as asynchronous processing, eventual consistency, resilience, scalability, and more
  • Use event-driven architecture and messaging with RabbitMQ
  • Master service discovery with Consul and load balancing with Spring Cloud Load Balancer
  • Route requests with Spring Cloud Gateway
  • Keep flexible configurations per environment with Spring Cloud Consul
  • Trace every request from beginning to end with Sleuth and centralized logging
  • Deploy your microservices anywhere as Docker containers
  • Start all the components in the microservice architecture with Docker Compose


Who This Book Is For
Those with at least some prior experience with Java programming. Some prior exposure to Spring Boot recommended but not required.

商品描述(中文翻譯)

建立基於 Java 的微服務架構,使用 Spring Boot 框架,將應用程式從小型單體演變為由多個服務組成的事件驅動架構。本書採用漸進式的方法來教授微服務的結構、測試驅動開發,以及分散式系統中的常見模式,如服務發現、負載平衡、路由、集中式日誌、每個環境的配置和容器化。

本書更新後涵蓋了最新 Spring Boot 版本中新增的內容,包括對最新 Java SE 的支援;更深入的 Spring Boot 工作原理知識;使用 JUnit 5 進行測試;用於服務發現和負載平衡的 Spring Cloud 工具的變更;使用雲原生構建包構建 Docker 映像;基本的集中式日誌解決方案;使用 Sleuth 進行端到端的可追溯性;使用 Consul 進行集中式配置;許多依賴項升級;對 Spring Data Neumann 的支援;以及更多內容。

作者 Moises Macero 採用務實的方法來解釋使用這種軟體架構的好處,而不是讓你分心於理論概念。他從實際的角度介紹了一些計算機編程的尖端技術。你將專注於重要的內容,從最小可行產品開始,但保持演變的靈活性。

你將學到什麼


  • 使用 Spring Boot 建立微服務

  • 發現分散式系統的架構模式,如非同步處理、最終一致性、韌性、可擴展性等

  • 使用事件驅動架構和 RabbitMQ 進行消息傳遞

  • 掌握使用 Consul 進行服務發現和使用 Spring Cloud Load Balancer 進行負載平衡

  • 使用 Spring Cloud Gateway 路由請求

  • 使用 Spring Cloud Consul 保持每個環境的靈活配置

  • 使用 Sleuth 和集中式日誌追蹤每個請求的始末

  • 將你的微服務作為 Docker 容器部署到任何地方

  • 使用 Docker Compose 啟動微服務架構中的所有組件



本書適合誰閱讀

對 Java 編程有至少一些先前經驗的人。建議有一些 Spring Boot 的接觸,但不是必需的。

作者簡介

Moisés Macero García has been a software developer since he was a kid, when he started playing around with BASIC on his ZX Spectrum. During his career, Moisés has most often worked in development and architecture for small and large projects, and for his own startups as well. He enjoys making software problems simple, and he likes working in teams where he can not only coach others, but also learn from them.

Moisés is the author of the blog thepracticaldeveloper.com, where he shares solutions for technical challenges, guides, and his view on different ways of working in IT companies. He also organizes workshops for companies that need a practical approach to software engineering. In his free time, he enjoys traveling and hiking.

 

作者簡介(中文翻譯)

Moisés Macero García 從小就是一名軟體開發者,當時他在自己的 ZX Spectrum 上玩 BASIC。 在他的職業生涯中,Moisés 最常從事小型和大型專案的開發與架構工作,並且也為自己的創業公司工作。他喜歡將軟體問題簡化,並且喜歡在團隊中工作,這樣他不僅可以指導他人,還能向他們學習。

Moisés 是部落格 thepracticaldeveloper.com 的作者,在那裡他分享技術挑戰的解決方案、指南,以及他對 IT 公司不同工作方式的看法。他還為需要實用軟體工程方法的公司組織工作坊。在空閒時間,他喜歡旅行和健行。