20 Matching Annotations
  1. Dec 2023
  2. Jan 2023
  3. Dec 2022
  4. Jun 2021
  5. May 2021
    1. the server is notified that the RPC has been invoked with the client’s metadata for this call, the method name, and the specified deadline if applicable.

      Two-prong approach. The server is notified "of the intent to invoke the method on server side".

  6. Dec 2020
  7. Oct 2020
  8. Nov 2019
    1. REST and GraphQL are wonderful tools to create an API that is meant to be consumed by third parties. Facebook's API, for example, is consumed by ~200k third parties. It is no surprise that Facebook is using (and invented) GraphQL; a GraphQL API enables third parties to extensively access Facebook's social graph enabling them to build all kinds of applications. For an API with that many consumers, GraphQL is the fitting tool. But, to create an internal API (an API developed and consumed by code written by the same organization), RPC offers a simpler and more powerful alternative. Large companies, such as Netflix, Google and Facebook, are starting to replace REST/GraphQL with RPC for their internal APIs. Most notably with gRPC which is getting popular in the industry.
    2. RPC is increasingly used to create backend APIs as most are internal: most of the time, a backend API is consumed only by frontends developed within the same organization. In general, REST and GraphQL are the right tools if you want to create an API consumed by code written by third parties and RPC is the right tool if you want to create an API consumed by code written by yourself / your organization.
  9. Mar 2017