Microservices with Clojure

Anuj Kumar

  • 出版商: Packt Publishing
  • 出版日期: 2018-01-26
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 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框架中提供的路由、異步服務、WebSockets等功能來實現微服務。

書籍描述


微服務架構已成為構建基於Web的應用程序的事實上樣式,有助於設計可擴展、易於維護的Web應用程序。本書將教授您常見的模式和實踐,並使用Clojure編程語言來應用這些模式。


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

您將學到什麼



  • 單體和基於微服務的架構的優缺點。

  • 使用Clojure有效地構建使用微服務的實際應用程序。

  • 獲得Clojure Pedestal框架的實際知識,以及如何使用它來構建微服務。

  • 探索各種持久性模式,並學習如何使用Apache Kafka構建事件驅動的微服務架構。

  • 使用JWT保護您的微服務。

  • 使用ELK堆棧在大規模上監控微服務。

  • 使用容器編排平台(如Kubernetes)在大規模上部署微服務。