REST vs GraphQL vs gRPC: Which API wins in system design interviews?
3-Second Blueprint (English)
- REST is the default for CRUD APIs, mapping URLs to resources over HTTP with built-in caching, retries, and status codes.
- GraphQL excels for UIs needing flexible nested data, letting clients request an exact data shape in one network round trip.
- gRPC uses binary Protobuf schemas over HTTP/2 with typed clients, streaming, and multiplexing for fast internal microservice calls.
REST over HTTPGraphQL Query ShapinggRPC & HTTP/2Protocol Buffers (Protobuf)Stream Multiplexing
3-Sekunden-Fazit (Deutsch)
- REST ist der Standard für CRUD-APIs über HTTP und liefert Caching, Retries sowie Statuscodes über Ressourcen-URLs direkt mit.
- GraphQL eignet sich für UIs mit verschachtelten Daten, da Clients die exakte Datenform in einem einzigen Roundtrip abfragen.
- gRPC nutzt binäre Protobuf-Schemata über HTTP/2 mit typisierten Clients, Streaming und Multiplexing für schnelle interne Services.
REST über HTTPGraphQL-AbfrageformunggRPC & HTTP/2Protocol Buffers (Protobuf)Stream-Multiplexing
Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.