---
schema_version: "1"
id: d3796984b9220936f15c79592f4b6299562ece042b34bbc9582f1d84b0698ad3
title: 模式與反模式
collection: architect
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/architect/current/zh-tw/well-architected/guides/patterns-and-anti-patterns.md
canonical_url: https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/patterns-and-anti-patterns.html
source_site: architect.salesforce.com
content_type: documentation
content_hash: 296106d9041c705ab634144067eaa40c182c69eda26029bc5f602b2fd0855ed7
products:
  - 結構良好的架構
  - Architect Site Content Repo
---
# 模式與反模式探索器


經過驗證的結構模式 (✅) 和要避免的常見陷阱 (⚡️),由「結構良好架構」的六個支柱所組織。

---

## Trust

透過現代安全性、最低權限存取權、隱私權控制和清晰的管治,保護您的解決方案、其資料和使用者。

<table>
<tr>
<th colspan="3">Trust - 模式與反模式</th>
</tr>
<tr>
<td><b>身分與存取權</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/trust-identity-access-patterns">驗證、授權、重要影響帳戶、身分生命週期</a></li></ul></td>
<td><b>資料保護與隱私權</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/trust-data-protection-patterns">資料分類、加密、遮罩、依設計的隱私權、資料落地</a></li></ul></td>
<td><b>合規與管治</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/trust-compliance-patterns">法規合規性、稽核追蹤、安全性狀況、風險管理</a></li></ul></td>
</tr>
<tr>
<td><b>事件回應</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/trust-incident-response-patterns">偵測、分級、鑑識、復原、事件後審查</a></li></ul></td>
<td><b>共用責任</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/trust-shared-responsibility-patterns">平台與客戶責任、認證、合規性界限</a></li></ul></td>
<td></td>
</tr>
</table>

---

## 可靠性

針對連續可用性設計、在中斷後快速復原,以及在非預期需求下調整容量。

<table>
<tr>
<th colspan="3">可靠性 - 模式與反模式</th>
</tr>
<tr>
<td><b>可用性與效能</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/reliability-availability-performance-patterns">風險管理、失敗緩解、SLO、高可用性、延遲、輸出</a></li></ul></td>
<td><b>延展性與容量</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/reliability-scalability-patterns">資料建模、資料量、大量載入、管理員限制、水平調整</a></li></ul></td>
<td><b>災害復原</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/reliability-disaster-recovery-patterns">備份與還原、業務持續性、RPO/RTO、冗餘</a></li></ul></td>
</tr>
</table>

---

## 傑出作業

在您的解決方案中建立全方位可觀察性,並透過正確定義的程序和自動化來管理解決方案。

<table>
<tr>
<th colspan="3">運作傑出 - 模式與反模式</th>
</tr>
<tr>
<td><b>DevOps 與版本管理</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/operational-excellence-devops-patterns">來源驅動的開發、環境策略、版本管理、CI/CD、測試、封裝</a></li></ul></td>
<td><b>自動化與效率</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/operational-excellence-automation-patterns">KPI、作業邏輯、流程設計、資料完整性、錯誤處理</a></li></ul></td>
<td><b>觀察性</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/operational-excellence-observability-patterns">監視、記錄、警示、SLI/SLO、平台健康狀態</a></li></ul></td>
</tr>
<tr>
<td><b>事件管理</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/operational-excellence-incident-patterns">偵測、通話、升級、事件後審查、執行手冊</a></li></ul></td>
<td></td>
<td></td>
</tr>
</table>

---

## 資源和成本最佳化

有效率地使用資源、將延遲降到最低、讓系統保持可編譯、隨著時間維持效能,並讓您花費的內容與您提供的業務價值保持一致。

<table>
<tr>
<th colspan="3">資源和成本最佳化 - 模式和反模式</th>
</tr>
<tr>
<td><b>程式碼品質與維護性</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/resource-and-cost-optimization-code-quality-patterns">標準與自訂、技術債務、設計標準、文件、管治</a></li></ul></td>
<td><b>結構與可組合性</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/resource-and-cost-optimization-architecture-patterns">功能單位、疑慮分隔、狀態管理、API 管理、傳訊</a></li></ul></td>
<td><b>授權最佳化</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/resource-and-cost-optimization-license-patterns">正確大小、附加元件、監管、契約、多組織影響</a></li></ul></td>
</tr>
<tr>
<td><b>儲存空間與 API</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/resource-and-cost-optimization-storage-api-patterns">資料生命週期、檔案儲存、Sandbox 策略、API 效率</a></li></ul></td>
<td><b>成本管理</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/resource-and-cost-optimization-governance-patterns">監視、預算、FinOps、建立與購買</a></li></ul></td>
<td><b>工作人員模式</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/resource-and-cost-optimization-agentic-patterns">資源與成本效率設計工作人員</a></li></ul></td>
</tr>
</table>

---

## 平等

透過適當的人力監督 AI 驅動決策,確保您的解決方案可供存取、不歧視和透明。

<table>
<tr>
<th colspan="2">公平 - 模式與反模式</th>
</tr>
<tr>
<td><b>無障礙與使用者體驗</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/fairness-accessibility-patterns">WCAG 規範、螢幕助讀程式支援、鍵盤瀏覽、視覺設計、無障礙測試</a></li></ul></td>
<td><b>AI 道德與管治</b><ul><li><a href="https://architect.salesforce.com/docs/architect/zh-tw/well-architected/guide/fairness-ai-ethics-patterns">異常偵測、緩解、可解釋性、人力監督、不歧視、同意、法規合規性、稽核追蹤</a></li></ul></td>
</tr>
</table>

---

