Skip to content
  • Choosing a protocol · API Design

Choosing a protocol

LearnViaNotes @learnvianotes· 1 min read

Choosing the wrong protocol creates a bottleneck. Most systems use multiple protocols for different needs.

Real-world: what big apps use

CompanyExternal APIInternalReal-time
StripeREST + WebhooksgRPCSSE
GitHubREST + GraphQLgRPCSSE
NetflixRESTgRPCWebSockets
SlackREST + WebhooksKafka + gRPCWebSockets

Free for students and teachers

Write notes like this one

Cards for every idea, quizzes and flashcards, read aloud — on the web and your phone.

Something wrong with this note? Open it to report