Overview
On November 14th, Classy introduced two infrastructure improvements to enhance Classy for Salesforce processing during high-volume traffic (over 1000 transactions/hour).
In this guide:
Classy for Salesforce now includes a queueing mechanism to throttle events and regulate how quickly Classy sends messages to Salesforce. This will allow for Salesforce to successfully process records before receiving more from Classy.
During high volume, the rate at which Classy sends data to Salesforce will slow down and delay how quickly records are created in Salesforce.
When turned on, Classy for Salesforce will process more than one API Request at once. By bulk processing API Requests, the number of concurrent locks on records will decrease and reduce the frequency of failure. The default batch size for bulk processing is 20 API requests at once.
To activate bulk processing, reach out to the Classy Care team and grant access to your Salesforce instance.
By processing records more efficiently, these changes will improve data sync quality during times of high volume. In the past, organizations who were processing high volumes of data saw more errors with record creation. For example, Unable to Lock Row errors. These require time reconciling data and fixing missing records.
These enhancements will provide better data integrity, and easier reporting/reconciliation in Salesforce.
Your organization should request bulk processing if your organization expects over 1,000 transactions per hour during end-of-year giving. Otherwise, it’s unnecessary to turn on this feature.
If you expect high volume during end-of-year giving, we recommend you turn on bulk processing early and leave it on to prevent backlogs of data. To activate bulk processing:
Once the Care team turns on bulk processing, we recommend you monitor the data coming in and reach out with any concerns.
No, the integration will continue to process data as it currently does if bulk processing is not turned on.
API Requests will still be created in your Salesforce environment as they are today, but Classy for Salesforce will process up to 20 requests at once. All requests processed at once will have the same LastModifiedDate, and is currently the indicator of records in a batch.
If a record in a batch fails, the entire batch will fail but auto-retries will kick in to reprocess the data. Whether auto-retries are successful will depend on the type of error returned. For example, row_lock will usually self-resolve but if there’s a validation rule error specific to an environment, those typically require manual intervention.
Yes, all API Requests will be processed in batches when bulk processing is active in your Salesforce instance.
Yes, all Classy for NPSP functionality will work alongside bulk processing
If your organization expects tens of thousands of donations during end-of-year giving, we recommend using a processing method of either bulk processing or queueable.
With large volumes of donations, the more difficult it is for integrations to support real-time processing. If there is a sustained period of high traffic for your organization, there could be a 3-5 hour delay with syncing for each hour of sustained volume.
If you’re unsure of the type of volume to be expected, we recommend you take a proactive approach as some of the downstream effects of no action can be significant backlogs of data to process by the integration and increased failures due to row_locks that will cause a need to re-sync data during a lull in giving.