Reader small image

You're reading from  Designing Microservices Platforms with NATS

Product typeBook
Published inNov 2021
PublisherPackt
ISBN-139781801072212
Edition1st Edition
Concepts
Right arrow
Author (1)
Chanaka Fernando
Chanaka Fernando
author image
Chanaka Fernando

Chanaka Fernando is a solution architect with 12+ years of experience in designing, implementing, and supporting enterprise-scale software solutions for customers across various industries including finance, education, healthcare, and telecommunications. He has contributed to the open source community with his work (design, implementation, and support) as the product lead of the WSO2 ESB, one of the founding members of the "Ballerina: cloud-native programming language" project, and his own work on GitHub. He has spoken at several WSO2 conferences and his articles are published on Medium, DZone, and InfoQ. Chanaka has a bachelor's degree in electronics and telecommunications engineering from the University of Moratuwa.
Read more about Chanaka Fernando

Right arrow

Implementing microservices

We have already defined the interfaces of the microservices in the previous section. Let's understand the data structures that we are going to use in their implementation. The following diagram depicts the data structures and their associations with each microservice:

Figure 6.7 – Data structures and their associations with microservices

As depicted in the preceding diagram, each microservice is associated with its own data structures, as well as some common data structures that are used to share data via messages.

The patient service uses the patient registration process, so it uses the RegistrationRequest data type. The RegistrationEvent data type is used to communicate a patient registration to the inspection service.

The inspection service receives the registration event and uses that to process the inspection tasks. It uses the InspectionRequest data type to keep the inspection details. Once the inspection...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Designing Microservices Platforms with NATS
Published in: Nov 2021Publisher: PacktISBN-13: 9781801072212

Author (1)

author image
Chanaka Fernando

Chanaka Fernando is a solution architect with 12+ years of experience in designing, implementing, and supporting enterprise-scale software solutions for customers across various industries including finance, education, healthcare, and telecommunications. He has contributed to the open source community with his work (design, implementation, and support) as the product lead of the WSO2 ESB, one of the founding members of the "Ballerina: cloud-native programming language" project, and his own work on GitHub. He has spoken at several WSO2 conferences and his articles are published on Medium, DZone, and InfoQ. Chanaka has a bachelor's degree in electronics and telecommunications engineering from the University of Moratuwa.
Read more about Chanaka Fernando