Geek Culture
Published in

Geek Culture

Designing Microservices Platforms with NATS [Book] Released!

Let’s build enterprise platforms with microservices using NATS

Just released!

It is a great and humble feeling to release my very first book “Designing Microservices Platforms with NATS” on 19th November 2021 (first edition).

Cover Image of Designing Microservices Platforms with NATS

You can read it through Amazon, Barnes and Nobel, Packt, and other distributors worldwide.

Why another microservices book?

I hear you! Why there are so many books about microservices? Is that so complicated? Why do people use it?

Those were some of the questions I had when reading about microservices in the wild (internet). The more I read through, the more I realized that there is something missing. That missing piece was the first principle and the simplicity when building microservices.

That is why I thought of writing a book on microservices that people can understand and start building applications with microservices without falling into the trap of ultra complexity. This book focuses on building applications first and includes all the necessary details on scalability, security, observability with practical examples written mostly in the Go programming language.

If you want to bootstrap your microservices journey with a quick rundown of the concepts, history, and practical examples this is a book for you.

If you want to learn about how messaging technologies are utilized in a microservices architecture to scale to a global scale without adding the complexity of a service mesh, this is a book for you.

If you want to learn NATS and understand how it is used in practical application development, this book provides you with a comprehensive guide to learn NATS concepts with examples.

If you want to learn enterprise software architecture by focusing on microservices, this book provides you insights into how microservices are integrated with enterprise software tools such as integration platforms.

If you don’t know anything about microservices or NATS but are eager to learn these technologies as a newbie, I’m sure this book will provide an introduction to these technologies with enough hands-on exercises

Where did it all start?

My appetite for writing started a long way back in school but it really got going ever since I started working at WSO2 which is an open-source, open culture organization that encourages people to share their knowledge. I have been writing about enterprise software, API management, Integration, and Microservices for most of the last 5 years and had the idea of putting it all together in a better form factor for some time.

The idea of this book came from Harshal Gundetty from Packt publishing where he saw one of the articles I wrote on DZone. It triggered the idea of writing a book on Microservices. At the same time, I realized that the world of microservices architecture is going through a transition period where the idea of a service mesh is going through major rework and more, and organizations are adopting the microservices architecture without properly evaluating the challenges it presents. That provided me the motivation to spend time writing a book on microservices focusing on inter-service communication using NATS.

What is unique about this book?

This is the first book (at the time of publishing) that combines the microservices architecture with NATS messaging technology. It provides a fresh perspective on building real-world applications with microservices architecture using NATS as the inter-service communication layer. It provides an alternative approach to build microservices with service mesh without losing any of the functional aspects such as security, observability, and scalability.

This book follows an approach where it provides diagrams and code examples to explain the concepts in detail so that the reader can understand the concepts well. It also uses a pragmatic approach to microservices designing and building by using one single Hospital OPD (Outpatient Department) application throughout the book to explain the concepts.

Getting the best out of this book

This book is not a theory-only book. It provides a considerable amount of example commands and source code to practice the concepts while reading it. You can find most of the source code that is developed within the book in the link below.

Make sure you have the above code repository forked while reading the book and the examples should run on any operating system including Windows, Linux, and Mac OS.

Engage with Us

If you have any comments or feedback on the book and its content, you can share that as a review through the book purchasing platforms or by creating a GitHub issue if it is related to the source code. You can also connect with me via LinkedIn or Medium and I will make sure that you get the explanations that are required related to the book.

Thank you!

This book will not become a reality if I didn’t have the support and guidance from the Packt team. Thank you Harshal, Ruvika, Vaishali, Deeksha, and the team for guiding me through the journey.

I would also like to thank technical reviewers of the book Isuru Udana Loku Narangoda and Justice Nefe for correcting my mistakes and providing great suggestions to improve the quality of the book.

Finally, to my family for providing me with the environment to write a book on a subject such as microservices which is not the simplest.



A new tech publication by Start it up (

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chanaka Fernando

Writes about Microservices, APIs, and Integration. Author of “Designing Microservices Platforms with NATS” and "Solution Architecture Patterns for Enterprise"