Chapter 6: A Practical Example of Microservices with NATS

At this point, we have a strong understanding of the microservice architecture and the NATS messaging technology. In this chapter, we are going to use our knowledge to build a real-world application using a microservice architecture with NATS as the inter-service communication mechanism. We will use the reference architecture of microservices that we discussed in the previous chapter to implement an application for a healthcare service provider such as a hospital.

The following topics will be covered in this chapter:

  • Understanding the use case of a hospital outpatient department (OPD)
  • Defining the solution architecture
  • Implementing microservices
  • Setting up the NATS servers cluster

Get Designing Microservices Platforms with NATS 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.