gRPC Interactive Deep Dive 18 Steps

Master client stubs, server skeletons, Protobuf framing, and HTTP/2 multiplexing lifecycle

Step 1 of 18

ORDER SERVICE CLIENT

Java Stub
Client Application caller
service.sayHello(req);
State: Idle Deadline: 100ms
gRPC Stub (Protobuf)
stub

Serializer

Protobuf

Unmarshaler

Protobuf

Status: Ready Bytes: 0 B
HTTP/2 Transport Layer multiplexer
Streams: 0 Active
HPACK: Enabled
Conn: 1 TCP Pipe State: Established

HTTP/2 TCP PIPE

Transport
RTT Latency: 120ms
Mux: Stream #1/#3 In-Flight: 0

PAYMENT SERVICE SERVER

Go Skeleton
HTTP/2 Server Layer demux
Streams: 0 Active
HPACK: Enabled
State: Listening Trailers: grpc-status
Server Skeleton (gRPC)
skeleton

Unmarshaler

Protobuf

Serializer

Protobuf

Status: Waiting Processed: 0 B
Service Implementation handler
func (s *Server) SayHello(...)
State: Listening Status: 0 (OK)
Component

Context details