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

What this book covers

Chapter 1, Introduction to the Microservices Architecture, provides a comprehensive introduction to the microservices architecture.

Chapter 2, Why Is Messaging Important in a Microservices Architecture?, discusses different messaging technologies and why microservices architectures require messaging.

Chapter 3, What Is NATS Messaging?, explores the NATS messaging technology by covering the concepts with practical examples.

Chapter 4, How to Use NATS in a Microservices Architecture, discusses the possible ways to use NATS messaging in a microservices context.

Chapter 5, Designing a Microservices Architecture with NATS, provides a reference architecture using a real-world application to build a microservices-based application with NATS.

Chapter 6, A Practical Example of Microservices with NATS, provides a reference implementation of an application using the microservices architecture along with NATS.

Chapter 7, Securing a Microservices Architecture with NATS, discusses the security of the overall microservices architecture, including NATS, with examples on securing NATS servers.

Chapter 8, Observability with NATS in a Microservices Architecture, explores various monitoring and troubleshooting requirements and available technologies with an example implementation.

Chapter 9, How Microservices and NATS Co-exist with Integration Platforms, discusses the aspects related to the integration of microservices-based applications with other enterprise systems.

Chapter 10, Future of the Microservices Architecture and NATS, explores the new developments in the microservices and NATS domains.