Practical NATS

From Beginner to Pro

  • Waldemar Quevedo

Table of contents

  1. Front Matter
    Pages i-xviii
  2. Waldemar Quevedo
    Pages 1-18
  3. Waldemar Quevedo
    Pages 19-41
  4. Waldemar Quevedo
    Pages 43-84
  5. Waldemar Quevedo
    Pages 85-109
  6. Waldemar Quevedo
    Pages 111-130
  7. Waldemar Quevedo
    Pages 131-167
  8. Waldemar Quevedo
    Pages 169-196
  9. Waldemar Quevedo
    Pages 197-216
  10. Waldemar Quevedo
    Pages 217-231
  11. Waldemar Quevedo
    Pages 233-256
  12. Back Matter
    Pages 257-260

About this book


Learn to use NATS and messaging as a solution for communication between services. The NATS project has been around since 2010, but it has become more popular in recent years due to how well it fits into the paradigm of cloud native applications and microservices architectures. It’s fast becoming a very attractive option thanks to its great performance characteristics--a single server can push millions of messages per second--and overall simple design.

First you will learn the fundamentals of NATS such as its design, protocol and the styles of communications it enables, internals of the NATS clients, and how to use the basic API provided by all the official clients. You will also understand how to setup and configure NATS servers using the configuration file. 

Next you'll work with real-world projects and see how to develop a production-ready cloud native application using NATS as the control plane over which clients communicate. Finally you’ll learn advanced usage of the NATS clients, such as implementing heartbeats based failure detectors, tracing or collecting multiple responses from a single request.

Perhaps you are familiar with REST-style APIs, and want to make the transition into a messaging-based approach instead. Practical NATS is the perfect place to start.


messaging pub sub cloud native distributed systems microservices golang low latency high performance rpc

Authors and affiliations

  • Waldemar Quevedo
    • 1
  1. 1.San FranciscoUSA

Bibliographic information

Industry Sectors
Finance, Business & Banking
IT & Software
Energy, Utilities & Environment