-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Designing Microservices Platforms with NATS
By :

At this point, we have implemented a basic OPD application using a microservice-based approach and have a NATS server cluster set up on our local computer. Now, let's go ahead and try out the sample application to verify its concepts, design, and implementation. The following diagram depicts the current state of the application:
Figure 6.10 – OPD application with a NATS server
As depicted in the preceding diagram, individual microservices have separate databases to store the data related to the respective microservice. Also, each microservice uses the NATS messaging platform to share data between other microservices.
Let's go ahead and try out the sample application and its functions. We will use curl
as the client to connect with the microservices. You can use any HTTP client here, such as Postman or JMeter.
Before running the application, you must execute the following steps:
...