© Waldemar Quevedo 2018
Waldemar QuevedoPractical NATShttps://doi.org/10.1007/978-1-4842-3570-6_6

6. Developing a Cloud-Native NATS Application

Waldemar Quevedo1 
(1)
San Francisco, California, USA
 

In this chapter, we put into practice what was covered in the first half of the book and develop an application that uses NATS for the discovery and makes requests of services that are parts of the system.

As an example, we implement a NATS Rider service that helps users request a driver on-demand in order to reach a destination. Externally users talk to the service by using HTTP, but internally all the communication flows through NATS.

The NATS Rider Application

The NATS Rider application follows a microservices architecture with the different parts of the ...

Get Practical NATS: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.