Which protocol for service to service calls

Back to list2025-08-29
You

Which protocol for service to service calls?

ChatGPT

gRPC when the callers are yours and latency matters, REST when they are not:

REST/JSONgRPC
Debuggable with curlyesawkward
Schema enforcedoptionalalways
Streamingclumsynative
Browser supportdirectneeds a proxy

The schema is the real difference: with JSON the contract lives in documentation, with protobuf it lives in a file that breaks the build when violated.