Saturday, April 7, 2018

Communicating Microservices with gRPC

Interprocess communication is done by two styles;

1. REST (Representational State Transfer) : we send the resources back and forth and manipulate objects.
It is Resource focused.
Loosely coupled as get put delete methods allow to send information to the server.
Messages are text based.

2. RPC :
It is Action Focused.
Messages are birary based.

Background :
Google's internal protocol Stubby.

No comments: