RPC vs API

RPC vs API

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.

要查看或添加评论,请登录

José Cruz的更多文章

  • SaaS: Software as a Service

    SaaS: Software as a Service

    - A SaaS vendor hosts the service or the software. - The vendor provides a license or subscription model.

  • X-aaS – how many

    X-aaS – how many

    SaaS - Software as a Service PaaS - Platform as a Service IaaS - Infrastructure as a Service AaaS - Analytics as a…

  • What is an Architecture Style

    What is an Architecture Style

    Architecture Style is the same as an Architecture Pattern. It gives a name to the way the components and their…

  • IAST

    IAST

    IAST - Interactive Application Security Testing identifies security vulnerabilities in application code while it’s…

  • Dynamic Application Security Testing (DAST)

    Dynamic Application Security Testing (DAST)

    is a testing process to assess an application's security weaknesses and vulnerabilities. - Performs a black-box testing.

  • SAST

    SAST

    is a method used to review the source code of an application to identify potential vulnerabilities. - It is commonly…

  • BASE Transactions

    BASE Transactions

    is a transaction model often used on databases that rely heavily on horizontal scaling and performance. - BA: Basic…

  • ACID

    ACID

    is an acronym used in databases to describe the properties associated with the input-output operations on the data. -…

  • Coarse-grained vs. fine-grained

    Coarse-grained vs. fine-grained

    In computing, these concepts refer to the level of detail at which a system, configurations, security management, and…

  • RAG - Retrieval Augmentation Generation

    RAG - Retrieval Augmentation Generation

    RAG - Retrieval Augmentation Generation is a combination of Retrieval Augmentation and Generation to improve natural…

    1 条评论

社区洞察

其他会员也浏览了