Networking

RPC (Remote Procedure Call)

Calling a function that runs on another machine as if it were local: the arguments are serialized, sent over the network, executed on a server, and the return value is sent back.

A tRPC or gRPC client calls user.get(42) — the code reads like a local call, but it round-trips to the server.

Client
getUser(42)
Network
Server
Follow a call to the server and back

One of 40 cards in the JavaScript deck. Browse every card.