RPC
A remote procedure call: calling a function in another program over a network as if it were a local function call.
In more detail
RPC styles name operations as verbs, where REST names resources as nouns and uses a fixed set of methods. gRPC is the most common modern RPC framework.
Example
Redpanda brokers talk to each other over an internal RPC channel on port 33145.Related terms
- gRPC — A high-performance remote procedure call framework that generates client and server code from Protocol Buffers definitions and runs over HTTP/2.
- REST — An architectural style for networked software built on named resources, representations of their state, stateless requests and a uniform interface.
- tRPC — A TypeScript framework that lets a frontend call backend procedures with full type safety by sharing the server’s types, with no code generation.
- procedure — One callable server function in a tRPC router, declared as a query (read) or a mutation (write), with a validated input.
- request-reply — An interaction where the caller sends a request and waits for a single reply before continuing.
- HTTP — The protocol web browsers and web servers use to send requests and responses.
- --rpc-addr — The Redpanda start flags that set where a broker listens, and what address it advertises, for broker-to-broker traffic.
- Server Functions — Async functions marked with "use server" that run on the server but can be called from client components, for example as a form action.
- HTTP method — The verb at the start of a web request that says what the client wants, such as GET to read or POST to create.
Taught in
- What An API Is, And The Alternatives — Modern API Architecture: REST, GraphQL & gRPC
- When Each Wins: REST, GraphQL, gRPC And SOAP — Modern API Architecture: REST, GraphQL & gRPC
- Two Reminders, One Booking: Integration And DevOps Tools — CompTIA Cloud+ (CV0-004) Exam Prep
- Type-Safe Client Generation: Orval & Automated SDKs — Production Full-Stack Engineering
- Type-Safe RPC Architectures: tRPC & Procedures — Production Full-Stack Engineering
- Three Brokers: Replication And Leaders — Apache Kafka & Event Streaming
- When Kafka Is The Wrong Tool — Apache Kafka & Event Streaming
- Server Actions: use server Directives & Mutations — Next.js 15 & Modern App Router Architecture
- NFS Client Mounts That Survive The Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- firewalld: Zones, Services And Ports That Stay Open — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 2: Real Machines And The Ten Costly Mistakes — Red Hat Certified System Administrator (EX200) Exam Prep
- Providers: How Terraform Reaches Every API — HashiCorp Terraform Associate (004) Exam Prep
References
- gRPC: Introduction to gRPC
- tRPC: Introduction
- RFC 5531: RPC protocol specification version 2
- React docs: Server Functions
- Next.js 15 docs: use server