An RPC protocol developed by Google.

  • HTTP/2 was created by Google to be used by gRPC

Request and Response Multiplexing

  • Traditionally, it’s not possible to send multiple requests or retrieve multiple responses together in a single connection; we require a new connection for each request/response
  • R/R multiplexing is possible in HTTP/2 due to a new layer called binary framing, which encapsulates and encodes the data for further security
  • Each HTTP request/response gets broken down into frames
  • Payloads from multiple requests can thus be packed under the same header, identifying it as one request

Sources

[1] https://www.freecodecamp.org/news/what-is-grpc-protocol-buffers-stream-architecture/