Skip to content
Tagged articles

AI streaming

5 articles · Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Oct 6, 2026 · Backend Development

Skip WebSocket for AI Streaming: SSE Delivers Typewriter Effects with Half the Code in Spring Boot

This comprehensive guide demonstrates why Server-Sent Events (SSE) is the superior choice over WebSocket for unidirectional server push scenarios like AI token streaming, covering Spring Boot integration patterns, production hardening (async thread pools, Nginx buffering, heartbeats, reconnection), and cluster deployment with Redis Pub/Sub.

AI streamingSSEServer-Sent Events
0 likes · 23 min read
Skip WebSocket for AI Streaming: SSE Delivers Typewriter Effects with Half the Code in Spring Boot
AI Engineer Programming
AI Engineer Programming
Jul 17, 2026 · Backend Development

Choosing the Right Streaming Protocol for AI: Comparing Five Options (Part 2)

This article analyzes five streaming protocols for AI—including gRPC Stream, Streamable HTTP (MCP), SSE, WebSocket, and HTTP Chunked—detailing their mechanisms, code examples, pros and cons, and provides a decision matrix to help engineers select the most suitable protocol based on connection model, data format, infrastructure compatibility, and development complexity.

AI streamingMCPProtocol Selection
0 likes · 14 min read
Choosing the Right Streaming Protocol for AI: Comparing Five Options (Part 2)
AI Engineer Programming
AI Engineer Programming
Jul 15, 2026 · Backend Development

Choosing the Right Protocol for AI Streaming: SSE, Chunked, or WebSocket (Part 1)

This article analyzes three HTTP‑based streaming approaches—Server‑Sent Events (SSE), HTTP Chunked Transfer Encoding, and WebSocket—detailing their underlying mechanisms, implementation steps, pros and cons, and ideal use cases to help developers select the most suitable protocol for AI‑driven real‑time output.

AI streamingHTTP ChunkedProtocol Selection
0 likes · 17 min read
Choosing the Right Protocol for AI Streaming: SSE, Chunked, or WebSocket (Part 1)
Tencent TDS Service
Tencent TDS Service
Mar 30, 2026 · Operations

Mastering SSE Load Testing: From Basics to Real‑World Metrics

This article explains the fundamentals of Server‑Sent Events, compares them with traditional HTTP, outlines why performance testing is essential for AI streaming scenarios, provides detailed SSE load‑testing design guidelines, and describes how to interpret key connection, throughput, and streaming metrics.

AI streamingBackendSSE
0 likes · 11 min read
Mastering SSE Load Testing: From Basics to Real‑World Metrics