salesforce-load-scale

v2026.09.24

Test Salesforce integration capacity in an authorized non-production org with synthetic data, bounded load, org limits, and business-invariant checks. Use when planning scale. Trigger with "load test Salesforce".

GitHub
安装命令
npx skhub add jeremylongshore/salesforce-load-scale
Markdown
SKILL.md

Salesforce Bounded Load and Scale Validation

Overview

Measure useful throughput and failure behavior without treating Salesforce as an unconstrained HTTP endpoint or using production records as test data.

Prerequisites

  • Representative workload mix, service objectives, business invariants, expected growth, and capacity owner
  • Dedicated authorized org, synthetic dataset, matching automation where possible, current limits, and peer-workload schedule
  • Load stages, concurrency ceilings, stop thresholds, cleanup, reconciliation, and incident contacts

Tool Discipline

Use Read, Glob, and Grep to inspect approved repository and evidence files, WebFetch to re-check current first-party Salesforce documentation, and Write or Edit only for secretless plans, fixtures, configuration, and redacted receipts.

Current Contract

Salesforce enforces org-, edition-, license-, API-, Apex-, bulk-, event-, and concurrency-dependent limits. Limits and usage must be discovered in the target org, and non-production fidelity to production must be documented.

Authentication

Use a dedicated non-production principal with minimum objects and fields. Keep authorization outside load scripts and prevent tools, results, and fixtures from containing production tokens or personal data.

Instructions

  1. Model read, write, query, bulk, composite, async, and event workload proportions plus business deadlines and growth.
  2. Capture org identity, edition, features, metadata, automation, relevant limits, peer workloads, and fidelity gaps.
  3. Generate synthetic records with stable keys and safe relationships; precompute expected counts and outcomes.
  4. Define stepped load, warm-up, duration, concurrency, request budget, stop thresholds, cooldown, cleanup, and rollback.
  5. Run small stages while measuring latency, throughput, errors, limits, locks, async lag, event lag, automation, and business outcomes.
  6. Stop on the first approved threshold; never retry hard limits or uncertain writes as additional load.
  7. Reconcile all generated data and events, delete fixtures, restore settings, compare capacity to objectives, and state extrapolation limits.

Approval Boundaries

Do not point load tools at production, use real customer data, exceed the approved budget, disable automation, or raise concurrency after a breach.

Output

Return the workload model, org and fidelity evidence, synthetic dataset, stage results, thresholds, bottleneck, invariant checks, cleanup, and capacity recommendation.

Error Handling

ConditionResponse
Test org differs materially from productionReport the fidelity gap and do not claim production capacity from the result.
Limits or locks breach the stop thresholdTerminate the stage, preserve evidence, and reconcile before another test.
Synthetic cleanup is incompleteKeep the environment quarantined and assign cleanup before reuse.

Example

A redacted completion receipt might look like this:

workload=case-sync; org=performance-sandbox; data=synthetic; stages=5; stop=stage4-locks; cleanup=complete; extrapolation=bounded

Resources

Next Steps

Run the workflow first in the lowest-risk authorized org and preserve its redacted receipt. Schedule a review against the next Salesforce seasonal release and the customer change calendar.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/.curated/salesforce-load-scale

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8