2

The features documentation mentions that the Platform Cache API is what allows you to store and retrieve data that's tied to a Salesforce session or shared across your org. Seeing "API" brings the question of: are there any limits to the # of calls in regards to retrieving/storing platform cache?

Taking a look at the considerations and limits docs, I see no mention to any limit on how often you can store or retrieve. It does mention the following:

Org cache supports concurrent reads and writes across multiple simultaneous Apex transactions.

I might be reading too much into the specific usage of "multiple", but is there any limit here that isn't explicitly mentioned in the docs in terms of:

  1. Max # of concurrent reads
  2. Total # of retrievals
1
  • 1
    No cache-specific concurrency limit, afaik. We use the cache quite a bit, haven't seen a concurrency issue yet.
    – identigral
    Jul 8, 2020 at 21:29

1 Answer 1

2

Platform Cache is a Redis store(key-value pairs) and there are no concurrent limits on it simply because salesforce allows the data to be overwritten!

Worst case there will be cache miss so one should have code to rebuild the cache data by handling cache miss scenario!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .