+1 vote
in Salesforce by
What is difference between Salesforce Bulk API and Standard API?

1 Answer

0 votes
by

Salesforce Standard API processes up to 200 records in one API call. However, Bulk API processes about 10,000 records in one API call.

If the Salesforce object contains large data sets, then it is advisable to use Bulk API. The performance of the task on would be much faster when loading large data sets using Bulk API when compared to the same job run on Standard API.

Similarly, it is advisable to use Standard API when dealing with smaller data sets and the performance would be much faster compared to Bulk API.

Standard API makes Synchronous calls in which the thread will wait until it completes its tasks before proceeding to next. In a Synchronous call, the code runs in single thread.

Bulk API makes Asynchronous calls in which the thread will not wait until it completes its tasks before proceeding to next. In an Asynchronous call, the code runs in multiple threads which helps to do many tasks as background jobs.

Related questions

+1 vote
asked Nov 25, 2021 in Salesforce by DavidAnderson
0 votes
asked Sep 24, 2019 in Salesforce by Robin
...