High-volume sites often involve heavier than usual registration traffic and record
creation. You can process more self-registrations and record creations per second when you process
them in small batches, called micro-batches, instead of one at a time. After they’re submitted,
the requests are collected into batches, and the batches are processed asynchronously. Processing
transactions using micro-batching improves performance and keeps your site moving during heavy
traffic spikes.
Required Editions
| Available in: Salesforce Classic and
Lightning Experience |
| Available in: Enterprise, Developer, Performance, and
Unlimited Editions
|
- Use Apex to Configure Self-Registration in Batches for High-Volume Sites
Your Experience Cloud site can handle twice as many self-registration requests at a time when they’re collected into batches and processed asynchronously rather than one at a time. The accounts and contacts created are owned and managed by the community administrator. After a batch is processed successfully, users receive an email with their login instructions. Batch processing self-registration requests improves performance and keeps your site moving during heavy traffic spikes. Minimal coding is required when you use the Apex controller that manages your self-registration flow.
- Use Apex to Configure Record Creation in Batches for High-Volume Sites
Experience Cloud site users can create more cases, leads, and custom objects per second when they’re collected into batches and processed asynchronously rather than one at a time. Batch processing improves performance and keeps your site moving during heavy traffic spikes. You can invoke batch record creation using the Apex method added for this purpose.
- Use Experience Builder to Configure Micro-Batching for High-Volume Sites
Use the Create Record Form, Contact Support Form, or Lead Form (LWC) components to create cases, leads, and custom objects more efficiently. When records are collected into batches and processed asynchronously, your site can process more records at a time. Batch processing improves performance and keeps your site moving during traffic spikes.
- High-Volume Registrations and Record Creation Fixes
Request forms on standard components and pages automatically check for errors and prompt users to fix the errors before submitting. If you invoked micro-batching for record creation using the Apex method, resolve all form errors before submission. Errors not discovered before submissions are sent to the site admin via email. You can also access errors that occur during record processing using Connect API.