gRPC Streaming
gRPC supports four communication patterns: unary (single request, single response), server streaming (single request, multiple responses), client streaming (multiple requests, single response), and bidirectional streaming (multiple requests and responses). gRPC status codes like OK (0), CANCELLED (1), and DEADLINE_EXCEEDED (4) apply to all patterns.
Protocolos relacionados
Mencionado em guias
Cenários relacionados
gRPC DEADLINE_EXCEEDED — Timeout Issues
gRPC
RESOURCE_EXHAUSTED — gRPC Message Size Limit Exceeded
gRPC
UNAUTHENTICATED — Missing or Invalid gRPC Metadata
gRPC
INTERNAL — Protobuf Serialization Mismatch
gRPC
FAILED_PRECONDITION — Stale State in Distributed System
gRPC
CANCELLED — Client Abandoning Slow gRPC Requests
gRPC
Definido em
Guias de decisão
Veja também
Backpressure
Error Handling
Request-Response Model
Protocol Design
Multiplexing
Protocol Design
Protocol Buffers (Protobuf)
Protocol Design
Server-Sent Events (SSE)
Real-Time & Streaming
gRPC Metadata
Real-Time & Streaming
gRPC-Web
Real-Time & Streaming
gRPC Channel
gRPC & RPC
Unary RPC
gRPC & RPC
Server Streaming RPC
gRPC & RPC
Client Streaming RPC
gRPC & RPC
Bidirectional Streaming RPC
gRPC & RPC