Google’s Remote Procedure Call to communicate through services. (gRPC)

REST (Representational State Transfer)

REST communicatio — from a plurasight lesson By Mike Van Sickle

RPC (Remote Procedure Call)

RPC communication — from a plurasight lesson By Mike Van Sickle

Why RPC than REST?

Some facts about gRPC

Ultimately

gRPC Structure

gRPC structure — from a plurasight lesson By Mike Van Sickle

Life Cycle of gRPC

RPC life cycle — from a plurasight lesson By Mike Van Sickle

gRPC — Authentication

Insecure

SSL / TLS

Google Token Based Authentication

Custom

gRPC Communication Options

Unary RPC

rpc methodName(RequestType) returns (ResponseType)

Server Streaming RPC

rpc methodName(RequestType) returns (stream ResponseType)

Client Streaming RPC

rpc methodName(stream RequestType) returns (ResponseType)

Bidirectional Streaming RPC

rpc methodName(stream RequestType) returns (stream ResponseType)

--

--

Developer ❤️ JS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store