Chapter 4: Inter-Process Communication and Messaging

Microservice architecture is a trend that has emerged with the recent growth of cloud application technology. Microservice architecture is built by combining small service components. These services should be able to communicate with each other and external services to provide the final output. Communication, therefore, is a key component of cloud native technology that needs a lot of focus and attention.

In this chapter, we will discuss how to use different types of communication protocols with the Ballerina language. We will learn how to find service endpoint connection URLs with service discovery, using different types of synchronous communication methods, such as GraphQL, WebSocket, gRPC, ...

Get Cloud Native Applications with Ballerina 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.