Microservices with Clojure
暫譯: 使用 Clojure 的微服務

Anuj Kumar

  • 出版商: Packt Publishing
  • 出版日期: 2018-01-26
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 336
  • 裝訂: Paperback
  • ISBN: 1788622243
  • ISBN-13: 9781788622240
  • 相關分類: JVM 語言Microservices 微服務SOA
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Relevance of microservices architecture and benefits of Clojure's functional and simple features to implement it.
  • Learn the best practices and common principals to avoid the common pitfalls while developing microservices.
  • Utilize routing, async services, websockets etc.available in Pedestal framework in implementation of microservices.

Book Description

Microservice architecture is sweeping the world as the de facto pattern to build web-based applications and aids in designing scalable, easy-to-maintain web applications. This book will teach you the common patterns and practices, showing you how to apply these using the Clojure programming language.

It will teach you the fundamental concepts of architectural design and RESTful communication, and show you patterns that provide manageable code that is supportable in development and at scale in production. We will provide you with examples on how to put these concepts and patterns into practice with Clojure. Whether you are planning a new application or working in an existing monolith, this book will explain and illustrate with practical examples how teams of all sizes can start solving problems with microservices. You will understand the importance of writing code that is asynchronous and non-blocking and how Pedestal helps us do this. Later, the book explains how to build Reactive microservices in Clojure, which adhere to the principles underlying the Reactive Manifesto. We finish off by showing you various techniques to monitor, test, and secure your microservices. By the end, you will be fully capable of setting up, modifying, and deploying a microservice with Clojure and Pedestal.

What you will learn

  • Pros and Cons of Monolithic and Microservices based Architecture.
  • Use of Clojure to effectively build a real-life application using Microservices.
  • Gain practical knowledge of Clojure Pedestal framework and how to use the same to build Microservices.
  • Explore various persistence patterns and learn how to use Apache Kafka to build Event Driven Microservices Architecture.
  • Secure your Microservices using JWT.
  • Monitor Microservices at scale using ELK stack.
  • Deploy Microservices at scale using container orchestration platforms, like- Kubernetes.

商品描述(中文翻譯)

#### 主要特點
- 微服務架構的相關性以及 Clojure 的函數式和簡單特性在實現微服務中的好處。
- 學習最佳實踐和常見原則,以避免在開發微服務時常見的陷阱。
- 利用 Pedestal 框架中可用的路由、非同步服務、WebSocket 等來實現微服務。

#### 書籍描述
微服務架構正在全球範圍內迅速普及,成為構建基於網頁的應用程序的事實標準,並有助於設計可擴展、易於維護的網頁應用程序。本書將教您常見的模式和實踐,展示如何使用 Clojure 程式語言應用這些模式。

本書將教您架構設計和 RESTful 通信的基本概念,並展示提供可管理代碼的模式,這些代碼在開發和生產環境中都能得到支持。我們將提供示例,說明如何將這些概念和模式與 Clojure 實踐結合。無論您是計劃一個新應用程序還是在現有的單體應用中工作,本書將通過實際示例解釋和說明各種規模的團隊如何開始使用微服務解決問題。您將理解編寫非同步和非阻塞代碼的重要性,以及 Pedestal 如何幫助我們做到這一點。隨後,本書將解釋如何在 Clojure 中構建遵循反應式宣言原則的反應式微服務。我們將最後展示各種技術,以監控、測試和保護您的微服務。到最後,您將完全能夠使用 Clojure 和 Pedestal 設置、修改和部署微服務。

#### 您將學到的內容
- 單體架構和基於微服務的架構的優缺點。
- 使用 Clojure 有效構建現實生活應用程序的微服務。
- 獲得 Clojure Pedestal 框架的實用知識,以及如何使用它來構建微服務。
- 探索各種持久性模式,學習如何使用 Apache Kafka 構建事件驅動的微服務架構。
- 使用 JWT 保護您的微服務。
- 使用 ELK 堆疊在大規模下監控微服務。
- 使用容器編排平台(如 Kubernetes)在大規模下部署微服務。