Skip to content
José da Cruz

Enterprise Architect, and Life Thinker

José da Cruz

Enterprise Architect, and Life Thinker

RPC vs API

josedacruz, July 18, 2023

RPC vs. API

  • -| RPC: Remote Procedure Call
  • RPC: a client invokes a function on a remote server (as if it were local).
  • RPC: Protocols; XML-RPC (WordPress uses it), JSON-RPC, DCOM, RMI, and CORBA
  • -| API: Application Programming Interface
  • API: A set of rules and specifications to define how the interactions should work.
  • API: Can expose; web services, libraries, and frameworks
  • API: Protocols and formats; HTTP, REST, SOAP, GraphQL, XML, JSON, etc.
  • -| The difference is on the level of abstraction.
  • RPC: Low-Level, very close to the implementation (the clients know the signature)
  • API: High-Level, away from the implementation (the client only needs endpoints and API Parameters)
  • RPC: highly coupled; changes to the implementation have a high impact.
  • API: loosely coupled; changes to the implementation have a low impact.
  • RPC  is more efficient and faster. Uses binary formats
  • API: can be complex and slower. Usually more textual.

Related

architecture

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • architecture (167)
  • artificial-intelligence (6)
  • books (2)
  • courses (4)
  • decision-frameworks (4)
  • finances (1)
  • java (8)
  • life-improvement (20)
  • metrics (3)
  • observability (2)
  • puzzles and challenges (3)
  • reviews (1)
  • security (8)
  • Soft Skills (1)
  • spring-boot (36)
  • Systems Thinking (3)
  • GitHub Weekly: AI Agent Tools Trending Right Now (November 2 – November 8, 2026)
  • Designing a Distributed Session Store: Why Sticky Sessions Break Under Load
  • Essential Reading: Release It! — Why Production Is a Different Game Than Development
  • GitHub Weekly: Top 10 Trending Repos (October 26 – November 1, 2026)
  • GitHub Weekly: Architecture & Infra Tools Worth a Look (October 19 – October 25, 2026)
©2026 José da Cruz | WordPress Theme by SuperbThemes