<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>CPU密集型 on 编程心语</title>
		<link>https://www.ithome.me/tags/cpu%E5%AF%86%E9%9B%86%E5%9E%8B/</link>
		<description>Recent content in CPU密集型 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/cpu%E5%AF%86%E9%9B%86%E5%9E%8B/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Node.js Worker Threads 实战：用多线程突破单线程瓶颈，处理CPU密集型任务</title>
				<link>https://www.ithome.me/post/2026/06/26/nodejs-worker-threads-cpu-intensive/</link>
				<pubDate>Fri, 26 Jun 2026 09:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/06/26/nodejs-worker-threads-cpu-intensive/</guid>
				<description>&lt;h2 id=&#34;为什么-nodejs-需要多线程&#34;&gt;为什么 Node.js 需要多线程？&lt;/h2&gt;&#xA;&lt;p&gt;Node.js 的核心优势在于事件驱动的非阻塞 I/O 模型，这让它在处理 HTTP 请求、文件读写、数据库查询等 I/O 密集型任务时表现出色。但这种模型有一个天然的短板：&lt;strong&gt;单线程无法充分利用多核 CPU&lt;/strong&gt;。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
