Salesforce Decode
Salesforcedecode
Apex questionsQuestion 103 of 179
ApexAdvancedcachingperformanceplatform-cache

Design Apex cache stampede protection for hot reference data

Scenario

Org cache partition for product catalog expires at noon. Thousand concurrent users hit Apex simultaneously causing SOQL storm and CPU limit errors.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.