Bulk API Flashcards

1
Q

What are the use-cases for Bulk API?

A
  • Loading large volumes of data in a single transaction.
  • Searching large volumes of data in a single transaction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

BULK API 1.0 vs Bulk API 2.0

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an Idempotent design pattern?

A

In an enterprise application, it’s usually a good idea to use a message broker that guarantees at-least-once delivery. At-least once delivery guarantees that a message broker will deliver a message to a consumer even if errors occur. One side-effect, however, is that the consumer can be invoked repeatedly for the same message. Consequently, a consumer must be idempotent: the outcome of processing the same message repeatedly must be the same as processing the message once. If a consumer is not idempotent, multiple invocations can cause bugs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Bulk API Data Volume limits?

A

Bulk API is synchronous when submitting the batch request and associated data. The actual processing of the data occurs asynchronously.

  • Up to 10,000 batches can be submitted per rolling 24–hour period.
  • A batch can contain a maximum of 10,000 records.
  • Event Message—The maximum event message size is 1 MB. Publishing an event using the Salesforce APIs counts against your standard API limits.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly