---
schema_version: "1"
id: 5b1ae57ddd24a0679b33f5869296eb45a5ed5dca31d88cb9dcd42ccad12df3a5
title: 批次 Apex 公平使用率演算法
collection: architect
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/architect/next/zh-tw/reference-diagrams/guides/batch-apex-fair-usage-algorithm.md
canonical_url: https://staging.architect.salesforce.com/docs/architect/zh-tw/reference-diagrams/guide/batch-apex-fair-usage-algorithm.html
source_site: staging.architect.salesforce.com
content_type: documentation
content_hash: a6a93a738cc7ac35d440a23f552e4d459a8770e018d5eb412810e3b4535a667d
products:
  - 參考圖表
  - Architect Site Content Repo
---
# 批次 Apex 公平使用率演算法

<img style="border:1px solid #e5e5e5;margin:2rem 0rem" src="https://architect.salesforce.com/ns-assets/reference-architectures/batch-apex-fair-usage-algorithm.webp" alt="批次 Apex 公平使用率演算法 - 顯示公平使用率演算法如何確保 Salesforce 平台上的每個組織在指定訊息類型上獲得處理時間的「公平佔比」。在此範例中,組織 1 會主控批次 Apex 訊息類型,而組織 2 會有相同訊息類型的等待程序。因此,演算法會減少可供組織 1 使用的執行緒數量。">

## 描述

顯示公平使用率演算法如何確保 Salesforce 平台上的每個組織在指定訊息類型上獲得處理時間的「公平佔比」。在此範例中,組織 1 會主控批次 Apex 訊息類型,而組織 2 具有相同訊息類型的等待流程。因此,演算法已減少可供組織 1 使用的執行緒數目。

## 可下載連結:

- [透明](https://lucid.app/lucidchart/editNew/d23a6022-45df-4632-9d0d-f646dee6eaa0)
- [影像](https://architect.salesforce.com/ns-assets/legacy/fairusage.png)
