gRPC Flashcards

1
Q

gRPC vs REST

A

Serialized gRPC payloads are more than 50% smaller
lower latency
Parsing JSON is CPU intensive (since the format is human-readable), but protocol buffers are binary
gRPC uses HTTP/2.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Types of APIs in gRPC

A

Unary
Server Streaming
Client Streaming
Bi-Directional Streaming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly