Practical Microservices
暫譯: 實用微服務
Eberhard Wolff
- 出版商: Apress
- 出版日期: 2017-04-18
- 售價: $2,230
- 貴賓價: 9.5 折 $2,119
- 語言: 英文
- 頁數: 310
- 裝訂: Paperback
- ISBN: 1484213696
- ISBN-13: 9781484213698
-
相關分類:
Microservices 微服務、SOA
海外代購書籍(需單獨結帳)
相關主題
商品描述
Microservices is an emerging software and web services design paradigm that is quite useful towards applications in building software as a service (SaaS) micro applications like streaming services (like Netflix), for example. Practical Microservices uses Java and web service design integration patterns and approach that allows you to build self-contained small or micro applications or software as a service modules. In this book, the author first covers modeling services which include coupling and decomposition. Then, he covers integration patterns like classic Enterprise Service Bus (ESB) style integrations, then compares/contrasts REST versus SOAP versus RCP versus others. Of course, he also helps you document these integration patterns.
The book next dives into distributed system elements like the network, messaging using Hessian, transactions, service discovery, Apache Zookeeper, latency and fault tolerance, configuration management, caching, routing, load balancing, Jini/JavaSpaces, and more. Next, the book covers continuous integration including releasability of individual pieces or micro applications or services, the pipeline concept, the Jenkins pipeline, deployment considerations, Docker and more. Then, the author goes into monitoring, with healthchecks, dropwizard metrics, Kibana + logstash, debugging tips and more. Next, we finalize the microservice applications by testing with end to end strategy tests, resilience with Chaos Monkey and Simian Army, stubby4j, integration tests, black box options, and more. Then, the application is secured using https plus basic auth, certificate based approach, Oauth and Spring.
After reading and using this book, you come away with an end-to-end Java-based microservice application case study and source code that you may be able to re-use as a template for you to be productive in your own projects.
What you'll learn
- What are the various fundamentals and scenarios of Microservices, the reasons for these services, challenges and how to work with SOAs
- How to architect for microservices
- How to test microservices and microservices-based systems
- How to do operations and continuous delivery of microservices
- How to work with examples
- What are nanoservices
- How to work with take-away case study and maybe apply it to your own projects
Who is this book for
This book is for experienced Java and web services programmers and web developers.
商品描述(中文翻譯)
微服務是一種新興的軟體和網路服務設計範式,對於構建軟體即服務(SaaS)微應用程式(例如串流服務如 Netflix)非常有用。《實用微服務》使用 Java 和網路服務設計整合模式,讓您能夠構建自包含的小型或微型應用程式或軟體即服務模組。在本書中,作者首先介紹服務建模,包括耦合和分解。接著,他探討整合模式,如經典的企業服務總線(Enterprise Service Bus, ESB)風格的整合,並比較 REST、SOAP、RCP 及其他技術。當然,他也會幫助您記錄這些整合模式。
本書接著深入探討分散式系統的元素,如網路、使用 Hessian 的消息傳遞、交易、服務發現、Apache Zookeeper、延遲和容錯、配置管理、快取、路由、負載平衡、Jini/JavaSpaces 等等。接下來,本書涵蓋持續整合,包括單個組件或微應用程式或服務的可釋放性、管道概念、Jenkins 管道、部署考量、Docker 等等。然後,作者進入監控主題,包括健康檢查、Dropwizard 指標、Kibana + Logstash、除錯技巧等。接下來,我們通過端到端策略測試、使用 Chaos Monkey 和 Simian Army 的韌性測試、stubby4j、整合測試、黑盒選項等來完成微服務應用程式的測試。然後,應用程式使用 HTTPS 加上基本身份驗證、基於證書的方法、Oauth 和 Spring 進行安全保護。
閱讀並使用本書後,您將獲得一個基於 Java 的端到端微服務應用程式案例研究和源代碼,您可以將其作為模板以提高自己專案的生產力。
您將學到的內容:
- 微服務的各種基本概念和場景、這些服務的原因、挑戰以及如何與 SOA 一起工作
- 如何為微服務架構設計
- 如何測試微服務和基於微服務的系統
- 如何進行微服務的運營和持續交付
- 如何使用範例
- 什麼是納米服務(nanoservices)
- 如何使用案例研究並可能將其應用於自己的專案
本書適合對象:
本書適合有經驗的 Java 和網路服務程式設計師及網頁開發人員。