Book Image

Designing Microservices Platforms with NATS

By : Chanaka Fernando
5 (1)
Book Image

Designing Microservices Platforms with NATS

5 (1)
By: Chanaka Fernando

Overview of this book

Building a scalable microservices platform that caters to business demands is critical to the success of that platform. In a microservices architecture, inter-service communication becomes a bottleneck when the platform scales. This book provides a reference architecture along with a practical example of how to implement it for building microservices-based platforms with NATS as the messaging backbone for inter-service communication. In Designing Microservices Platforms with NATS, you’ll learn how to build a scalable and manageable microservices platform with NATS. The book starts by introducing concepts relating to microservices architecture, inter-service communication, messaging backbones, and the basics of NATS messaging. You’ll be introduced to a reference architecture that uses these concepts to build a scalable microservices platform and guided through its implementation. Later, the book touches on important aspects of platform securing and monitoring with the help of the reference implementation. Finally, the book concludes with a chapter on best practices to follow when integrating with existing platforms and the future direction of microservices architecture and NATS messaging as a whole. By the end of this microservices book, you’ll have developed the skills to design and implement microservices platforms with NATS.
Table of Contents (15 chapters)
1
Section 1: The Basics of Microservices Architecture and NATS
5
Section 2: Building Microservices with NATS
11
Section 3: Best Practices and Future Developments

To get the most out of this book

This book is written in such a way that you will get the best learning experience by reading the chapters in order. The book includes commands, code examples, and step-by-step instructions as and when necessary. Following these instructions will help immensely in understanding the concepts. The book also provides several exercises so that you can improve your understanding and apply the knowledge to real-world applications. Try to complete the exercises while reading the book.

In addition to the this software, you need the CFSSL tool to create certificates to try out the examples in Chapter 7, Securing a Microservices Architecture with NATS. This tool can be downloaded from here: https://github.com/cloudflare/cfssl.

All the examples in this book were tested using macOS. Most of the examples should work with both Windows and Linux operating systems.

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book's GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

You may benefit from following the author on Twitter (https://twitter.com/chanakaudaya), Medium (https://chanakaudaya.medium.com), and GitHub (https://github.com/chanakaudaya), or by adding them as a connection on LinkedIn (https://linkedin.com/in/chanakaudaya).