<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Performance on Embark Systems</title>
    <link>https://embark.systems/tags/performance/</link>
    <description>Recent content in Performance on Embark Systems</description>
    <generator>Hugo</generator>
    <language>zh-tw</language>
    <lastBuildDate>Wed, 08 Apr 2026 07:24:41 +0800</lastBuildDate>
    <atom:link href="https://embark.systems/tags/performance/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>從「效能債」到電信級認證：Radiator 的高負載最佳化實錄</title>
      <link>https://embark.systems/posts/radiator-performance-tuning/</link>
      <pubDate>Wed, 08 Apr 2026 07:24:41 +0800</pubDate>
      <guid>https://embark.systems/posts/radiator-performance-tuning/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;../../images/radiator-performance-tuning.png&#34; alt=&#34;Radiator Performance Tuning&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;核心背景&#34;&gt;&#xA;  核心背景&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%a0%b8%e5%bf%83%e8%83%8c%e6%99%af&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;在 SI 系統整合產業任職期間，我們團隊長期深耕&lt;strong&gt;電信產業&lt;/strong&gt;，曾參與 4G/5G 設備開發認證機制的關鍵專案。即便通訊技術不斷演進，架構&lt;strong&gt;穩健的 RADIUS 協定&lt;/strong&gt;依舊是當時認證機制的核心。在技術選型上，我們捨棄了常見的開源方案，導入芬蘭 &lt;a href=&#34;https://radiatorsoftware.com&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Radiator Software&lt;/a&gt; 開發的商用軟體 —— &lt;strong&gt;Radiator&lt;/strong&gt;，利用其卓越的可擴充性來滿足電信級的連線需求。&lt;/p&gt;</description>
    </item>
    <item>
      <title>Extending PHP</title>
      <link>https://embark.systems/posts/php-extension/</link>
      <pubDate>Mon, 30 Mar 2026 23:14:39 +0800</pubDate>
      <guid>https://embark.systems/posts/php-extension/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;../../images/php-extension.png&#34; alt=&#34;PHP Extension&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;一-專案背景與技術脈絡&#34;&gt;&#xA;  一、 專案背景與技術脈絡&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e4%b8%80-%e5%b0%88%e6%a1%88%e8%83%8c%e6%99%af%e8%88%87%e6%8a%80%e8%a1%93%e8%84%88%e7%b5%a1&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;2004 年，技術團隊於企業級開發環境中引入 PHP Extension 機制。初期借鏡內部核心團隊之開源模組，以 C/C++ 實作 PHP 語言之 Function 與 Class 封裝。該技術最終編譯為 Shared Object (.so) 或 Windows DLL，於 PHP 啟動期載入記憶體，提供高效能運算與底層函式庫（如 &lt;code&gt;libqrencode&lt;/code&gt;、&lt;code&gt;libcurl&lt;/code&gt;）之直接調用能力。&lt;/p&gt;</description>
    </item>
    <item>
      <title>透過 CPU Affinity 最佳化多核心伺服器上單執行緒 DNS 服務效能</title>
      <link>https://embark.systems/posts/cpu-affinity/</link>
      <pubDate>Sat, 28 Mar 2026 23:41:05 +0800</pubDate>
      <guid>https://embark.systems/posts/cpu-affinity/</guid>
      <description>&lt;h2 id=&#34;-執行摘要-executive-summary&#34;&gt;&#xA;  📌 執行摘要 (Executive Summary)&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#-%e5%9f%b7%e8%a1%8c%e6%91%98%e8%a6%81-executive-summary&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;本案針對部署於高密度多核心伺服器上的單執行緒 DNS 服務，剖析作業系統預設排程機制所導致的效能瓶頸。透過實作 CPU Affinity（處理器親和力）與工作負載隔離策略，成功降低 Context Switch（行程切換）次數與 CPU Cache 失效率，於真實流量測試中獲得 20–30% 的效能提升。本案提供高頻網路服務在現代硬體架構下的低成本調校範例。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
