---
schema_version: "1"
id: 27063c2adc89d7169eb6af1029d51888d3a2946d788d392ab14f8da2a8d5ea67
title: バッチ Apex 均等使用アルゴリズム
collection: architect
version: next
locale: ja-jp
portal_url: https://docs.salesforce.com/architect/next/ja-jp/reference-diagrams/guides/batch-apex-fair-usage-algorithm.md
canonical_url: https://staging.architect.salesforce.com/docs/architect/ja-jp/reference-diagrams/guide/batch-apex-fair-usage-algorithm.html
source_site: staging.architect.salesforce.com
content_type: documentation
content_hash: 9ac93c3e5047ae371a053002507d657196202fa889eba82ebe3bfc837ffbd4c5
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 Platform 上の各組織で処理時間が均等に配分されるアルゴリズムを示します。この例では、組織 1 が一括 Apex メッセージ タイプを独占し、組織 2 が同じメッセージ タイプの待機プロセスを使用しています。その結果、アルゴリズムによって組織 1 で使用できるスレッド数が削減されています。">

## 説明

は、使用量の適正化アルゴリズムによって、Salesforce Platform の各組織が特定のメッセージ種別の処理時間を「公平」に配分できるようにする方法を示しています。この例では、組織 1 が一括処理 Apex メッセージ タイプを独占し、組織 2 に同じメッセージ タイプの待機プロセスがあります。その結果、アルゴリズムによって組織 1 で使用できるスレッド数が減少します。

## ダウンロード可能なリンク:

- [Lucid](https://lucid.app/lucidchart/editNew/d23a6022-45df-4632-9d0d-f646dee6eaa0)
- [画像](https://architect.salesforce.com/ns-assets/legacy/fairusage.png)
