Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Salesforce could throttle your requests/responses

Salesforce servers, in essence are shared resources across their customer base. Salesforce strives to be fair , so everyone gets the data they request in a timely manner. If you make a large number of simultaneous requests or request a large amount of data, Salesforce could throttle your request by sending a lower number of records per response. Throttling results in increased API calls. For more details about the API limits, refer to API Request Limits and Allocations.

...

  1. Initial Sync - The initial sync process is a request for all of the Salesforce data that you want to access in Pulsar, plus the metadata that defines how Pulsar will display the data. Many API calls are used in this large request for data.

  2. Catch-Up Sync - The catch-up sync requests only the data that has changed since the last successful sync. Typically, this does not include metadata. Some API calls are used during the catch-up sync, but not as many as an initial sync.

  3. Local Data Push - Local data pushes occur when new or updated data is sent to the Salesforce servers from the user’s device. Metadata is not transferred in this process. This process consumes some API calls.

  4. Refresh Settings - When Refresh Settings is pushed or forced via an automatic process, metadata is updated and requires API calls.

  5. Other processes - Other processes, such as the Salesforce license check, may also use a small number of API calls.

...

Salesforce sends between 200 and 2000 records in each API Call. The number of records depends on the amount of data in each record. For instance, you may request 10,000 records which each contain a short text phrase , and only use 5 API Calls (10,000 records / 2000 records per API Call). Alternatively, you may request 10,000 records containing images, documents, or long text blocks and use 50 API calls (10,000 records / 200 records per API call). This is because short text fields contain small amounts of data, while images, documents, and large text fields contain larger amounts of data. To complicate matters further, requesting records from narrow tables with only a few fields versus large tables with many fields may cause Salesforce to throttle the request , and send back a smaller number of records in each API call. Throttling can happen for other reasons, too, determined by Salesforce.

Panel
bgColor#E6FCFF

For these reasons, it is difficult to calculate the actual number of API calls which that will be used by Pulsar.

How can I see the number of API calls used in Pulsar?

We recommend that you test your settings in your full sandbox, and then look at the System Overview screen (under the Settings/Gear icon on the browser) to see the number of API Calls that were calls used during your test. To learn how to view your API limits, refer to this video: https://youtu.be/4owr6JhTNjs.

...

Now that you understand how Pulsar uses API calls, you can make adjustments to reduce the number of API calls you use.

Reducing the amount of synced data that is synced will reduce the number of API calls used by Pulsar.

...