Salesforce Limits Flashcards

(13 cards)

1
Q

The maximum number of API calls an org can make in a rolling 24 hour period / External system makes 100000 calls a day when the org limit is 50000 / ETL tool runs a mid day sync and consumes remaining API calls blocking other integrations / Error TotalRequests Limit exceeded REQUEST_LIMIT_EXCEEDED / Monitor usage with Limits API and use retry logic

A

API call limits

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

The limit of how many inbound API requests lasting 20 seconds or longer can run simultaneously / Complex dataload process takes 30 seconds due to backend automation / Multiple data loader instances exceed limit causing subsequent calls to fail / Error ConcurrentRequest Limits exceeded Unable to process requests / Prod and Sandboxes 25 seconds Dev orgs 5 seconds

A

Concurrent long running calls

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

Maximum heap memory a single Apex transaction can consume 6MB synchronous 12MB asynchronous / Integration queries objects into a list without filters or batching / Synchronous Apex REST service tries to hold inbound data in memory causing overflow / Error System.LimitException Apex heap size too large / Avoid loading entire datasets use SOQL for loops serialize large payloads

A

Heap size limits

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

Total execution time allowed for Apex 10 seconds synchronous 60 seconds asynchronous / Trigger performs nested loops queries and DML on large volumes / Bulk API loads trigger inefficient automation exceeding CPU limit / Error Apex CPU time limit exceeded / Bulkify code move heavy logic async

A

CPU time limits

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

Salesforce locks records during DML and integrations may be blocked / External system and batch job update the same Account / Scheduled job locks thousands of records and API updates fail / Error UNABLE_TO_LOCK_ROW / Use deterministic locking process parent before child handle errors

A

Row locking behavior

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

Limit on number of event messages or CDC events that can be delivered / Integration subscribes to Account CDC and org exceeds event allocation / Surge in data changes causes delivery quota exceeded / Error Event delivery limit exceeded / Monitor event metrics batch changes

A

Event delivery limits

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

Platform Events have hourly limits PushTopic events have daily limits and subscriber count multiplies consumption / High subscriber count rapidly consumes PushTopic allocations / Subscriber growth causes unexpected limit consumption / Monitor subscriber counts consider Platform Events for high fanout

A

Streaming and Platform Event limits

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

Salesforce automation runs in a structured sequence triggers validation rules flows etc / API update triggers process builder and Apex trigger / Poor design causes infinite loops CPU limit errors and DML failures / Error Apex CPU time limit exceeded Maximum trigger depth exceeded / Understand order of execution and prevent recursion

A

Order of execution impacts

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

A maximum of 100 HTTP requests or web service calls are allowed in a single Apex transaction.

A

Total Callouts

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

The total cumulative timeout across all callouts in a transaction is 120 seconds.

A

Cumulative Timeout

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

The default timeout for a single callout is 10 seconds; you can set a custom timeout up to the cumulative limit

A

Individual Callout Timeout

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

Maximum response size is 6 MB for synchronous callouts and 12 MB for asynchronous callouts

A

Response Size

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

You cannot perform DML operations (insert, update, delete) between multiple callouts in the same synchronous transaction context

A

DML Restrictions

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