<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Server-Sent Events on 编程心语</title>
		<link>https://www.ithome.me/tags/server-sent-events/</link>
		<description>Recent content in Server-Sent Events on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Tue, 04 Aug 2026 14:59:27 +0800</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/server-sent-events/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>SSE 实战：用 Server-Sent Events 实现实时推送，比 WebSocket 更轻量的服务端推送方案</title>
				<link>https://www.ithome.me/post/2026/06/27/sse-server-sent-events-realtime-push/</link>
				<pubDate>Sat, 27 Jun 2026 09:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/06/27/sse-server-sent-events-realtime-push/</guid>
				<description>&lt;h2 id=&#34;大多数开发者选错了实时通信方案&#34;&gt;大多数开发者选错了实时通信方案&lt;/h2&gt;&#xA;&lt;p&gt;提到&amp;quot;服务端主动推送&amp;quot;，绝大多数开发者第一反应是 WebSocket。但在实际项目中，&lt;strong&gt;80% 的实时场景根本不需要双向通信&lt;/strong&gt;——股票行情、通知推送、日志流、AI 流式输出，这些场景数据都是从服务端单向流向客户端。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
