<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Throughput on Tarragon</title><link>https://tarrragon.github.io/blog/tags/throughput/</link><description>Recent content in Throughput on Tarragon</description><generator>Hugo -- gohugo.io</generator><language>zh-TW</language><copyright>Tarragon (CC BY 4.0)</copyright><lastBuildDate>Thu, 23 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tarrragon.github.io/blog/tags/throughput/index.xml" rel="self" type="application/rss+xml"/><item><title>Throughput</title><link>https://tarrragon.github.io/blog/backend/knowledge-cards/throughput/</link><pubDate>Thu, 23 Apr 2026 00:00:00 +0000</pubDate><guid>https://tarrragon.github.io/blog/backend/knowledge-cards/throughput/</guid><description>&lt;p>Throughput 的核心概念是「系統在一段時間內完成多少工作」。它和 latency 不同，throughput 看總量與持續處理能力，latency 看單次完成時間。 可先對照 &lt;a href="https://tarrragon.github.io/blog/backend/knowledge-cards/thundering-herd/" data-link-title="Thundering Herd" data-link-desc="說明大量工作同時被喚醒或同時競爭資源時的尖峰風險">Thundering Herd&lt;/a>。&lt;/p>
&lt;h2 id="概念位置">概念位置&lt;/h2>
&lt;p>Throughput 位在容量、排程與流量控制的交界。queue、broker、stream、load test 與 partitioning 都會直接影響 throughput。 可先對照 &lt;a href="https://tarrragon.github.io/blog/backend/knowledge-cards/thundering-herd/" data-link-title="Thundering Herd" data-link-desc="說明大量工作同時被喚醒或同時競爭資源時的尖峰風險">Thundering Herd&lt;/a>。&lt;/p>
&lt;h2 id="可觀察訊號">可觀察訊號&lt;/h2>
&lt;p>系統需要 throughput 指標的訊號包括：queue lag 上升、consumer 跟不上 producer、load test 失敗、CPU 或 I/O 長期飽和。&lt;/p>
&lt;h2 id="接近真實網路服務的例子">接近真實網路服務的例子&lt;/h2>
&lt;p>checkout 每分鐘要處理多少訂單、consumer group 每秒可消化多少事件、load balancer 後面每個 instance 的穩定處理量，都是 throughput 問題。&lt;/p>
&lt;h2 id="設計責任">設計責任&lt;/h2>
&lt;p>Throughput 設計要定義測量單位、瓶頸位置、單節點與整體容量、以及在哪些條件下需要 backpressure、rate limit 或 scale out。&lt;/p></description><content:encoded><![CDATA[<p>Throughput 的核心概念是「系統在一段時間內完成多少工作」。它和 latency 不同，throughput 看總量與持續處理能力，latency 看單次完成時間。 可先對照 <a href="/blog/backend/knowledge-cards/thundering-herd/" data-link-title="Thundering Herd" data-link-desc="說明大量工作同時被喚醒或同時競爭資源時的尖峰風險">Thundering Herd</a>。</p>
<h2 id="概念位置">概念位置</h2>
<p>Throughput 位在容量、排程與流量控制的交界。queue、broker、stream、load test 與 partitioning 都會直接影響 throughput。 可先對照 <a href="/blog/backend/knowledge-cards/thundering-herd/" data-link-title="Thundering Herd" data-link-desc="說明大量工作同時被喚醒或同時競爭資源時的尖峰風險">Thundering Herd</a>。</p>
<h2 id="可觀察訊號">可觀察訊號</h2>
<p>系統需要 throughput 指標的訊號包括：queue lag 上升、consumer 跟不上 producer、load test 失敗、CPU 或 I/O 長期飽和。</p>
<h2 id="接近真實網路服務的例子">接近真實網路服務的例子</h2>
<p>checkout 每分鐘要處理多少訂單、consumer group 每秒可消化多少事件、load balancer 後面每個 instance 的穩定處理量，都是 throughput 問題。</p>
<h2 id="設計責任">設計責任</h2>
<p>Throughput 設計要定義測量單位、瓶頸位置、單節點與整體容量、以及在哪些條件下需要 backpressure、rate limit 或 scale out。</p>
]]></content:encoded></item></channel></rss>