Bidirectional Streaming

Bidirectional Streaming

gRPC, WebSocket, HTTP/2, HTTP/3, SSE, reconnect strategies, HOL blocking.

14Articles
14Topics covered
Articles in this category

All 14 articles, sorted alphabetically

Advertisement
ARTICLE · 01

Backpressure in Bidirectional Streams

What backpressure means in bidi protocols and how to handle a slow consumer without crashing.

Read article
ARTICLE · 02

Backpressure in Streaming Systems

When the consumer can't keep up.

Read article
ARTICLE · 03

Load Testing Bidi Servers with k6

Measuring p99 latency and concurrent connection limits.

Read article
ARTICLE · 04

gRPC Bidirectional Streaming Explained

How gRPC bi-directional streaming works under the hood + a runnable Python server/client.

Read article
ARTICLE · 05

gRPC Streaming Patterns

Unary, server, client, bidi — when each one fits.

Read article
ARTICLE · 06

Heartbeat and Keep-Alive Strategies

Detecting half-open connections in long-lived bidi streams.

Read article
ARTICLE · 07

HTTP/2 vs HTTP/3 Streams

Multiplexing under TCP vs QUIC.

Read article
ARTICLE · 08

NATS JetStream for IoT

Lightweight pub/sub with at-least-once and persistence.

Read article
ARTICLE · 09

QUIC Streams for Real-Time Apps

Why HTTP/3's QUIC transport beats TCP for bidi over lossy networks.

Read article
ARTICLE · 10

Server-Sent Events Deep Dive

How SSE compares to WebSocket and gRPC bidi for one-way streaming.

Read article
ARTICLE · 11

SignalR-Style Connection Patterns

WebSocket-with-fallback that doesn't suck.

Read article
ARTICLE · 12

Socket.IO vs Native WebSocket

When the abstraction is worth the overhead.

Read article
ARTICLE · 13

Scaling WebSocket Servers

Sticky sessions, pub/sub, and the connection limit.

Read article
ARTICLE · 14

WebSocket vs gRPC Bidi

Practical tradeoffs between browser-friendly WebSockets and HTTP/2-native gRPC bidi.

Read article