Remote procedure calls (RPC)
Distributed Systems · Engineering
Study notes
Call remote: client stub add(2,3) marshals to bytes, sends; server unmarshals, computes 5, returns. Feels local. gRPC: define service in .proto, generate stubs, HTTP/2 + protobuf. Microservices use RPC internally.