The microservice architecture is sweeping the world as the de facto pattern for building scalable and easy-to-maintain web-based applications. This book will teach you common patterns and practices, showing you how to apply them 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. This book will provide you with examples of how to put these concepts and patterns into practice with Clojure.
Whether you are planning a new application or working on 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.