All labs
Lab 6
Microservices

Service Talk — REST vs gRPC & Chatty Calls

Is microservice calling really slow? Toggle REST↔gRPC and chatty↔batched calls to feel exactly where the latency goes — and how to get it back.

Task: assemble one order-details page that needs data from 4 services.
Total latency
180 ms
Data over wire
720 KB
Round trips
4
🖥️
Client
0 ms
👤
User
45ms · 180KB
📦
Items
45ms · 180KB
🏷️
Pricing
45ms · 180KB
🚚
Shipping
45ms · 180KB
Four separate round trips from the client — latency stacks up call after call.
Chatty + REST
180 ms
Chatty + gRPC
28 ms
Coarse + REST
60 ms
Coarse + gRPC
12 ms
What just happened