Chapter 2 - Modern gRPC Fundamentals

https://leanpub.com/grpc_3dgraphicshttps://leanpub.com/grpc_3dgraphics

Synchronous vs Asynchronous APIs

https://leanpub.com/grpc_3dgraphics

Stub

https://leanpub.com/grpc_3dgraphics

Channel

https://leanpub.com/grpc_3dgraphics

How Is RPC Call Processed?

https://leanpub.com/grpc_3dgraphics

Service Types

https://leanpub.com/grpc_3dgraphics

Defining RPC Services

https://leanpub.com/grpc_3dgraphics

Listening Port

https://leanpub.com/grpc_3dgraphics

Deadlines

https://leanpub.com/grpc_3dgraphics

Setting a Deadline

https://leanpub.com/grpc_3dgraphics

Checking Deadlines

https://leanpub.com/grpc_3dgraphics

Exercises 1: Unary Service

https://leanpub.com/grpc_3dgraphics

CMake Setup

https://leanpub.com/grpc_3dgraphics

Find gRPC Package

https://leanpub.com/grpc_3dgraphics

Defining a New RPC Service

https://leanpub.com/grpc_3dgraphics

Generating gRPC Service Code

https://leanpub.com/grpc_3dgraphics

Synchronous (Blocking)

https://leanpub.com/grpc_3dgraphics

Server Implementation

https://leanpub.com/grpc_3dgraphics

Client Implementation

https://leanpub.com/grpc_3dgraphics

Asynchronous (non-blocking)

https://leanpub.com/grpc_3dgraphics

Server Implementation

https://leanpub.com/grpc_3dgraphics

Client Implementation

https://leanpub.com/grpc_3dgraphics

Exercises 2: Client Streaming Service

https://leanpub.com/grpc_3dgraphics

Proto Definition

https://leanpub.com/grpc_3dgraphics

Synchronous (Blocking)

https://leanpub.com/grpc_3dgraphics

Server Implementation

https://leanpub.com/grpc_3dgraphics

Client Implementation

https://leanpub.com/grpc_3dgraphics

Asynchronous (non-blocking)

https://leanpub.com/grpc_3dgraphics

The callback-based asynchronous API lets gRPC drive streaming RPCs using reactor callbacks instead of requiring the server to block while waiting for incoming messages.

https://leanpub.com/grpc_3dgraphics

Server Implementation

https://leanpub.com/grpc_3dgraphics

https://leanpub.com/grpc_3dgraphics

Client Implementation

https://leanpub.com/grpc_3dgraphics

Summary

https://leanpub.com/grpc_3dgraphics