Loading

Intermittent Latency in Object Store v2 Retrieve Operation

Publish Date: May 21, 2026
Description
  • Symptoms

    Object Store Retrieve operation responds quickly most of the time but intermittently takes 300–500ms or more.
    Cache Scope with a custom Object Store configuration also exhibits the same intermittent slowness, even on cache hits.
    The issue is non-deterministic and does not affect every request.
    No errors are thrown — all requests eventually succeed.

 

  • Root Cause

           Object Store v2 is a shared, multi-tenant service used widely across multiple customers and regions.
           Due to the shared nature of the service, it can experience slight latency intermittently based on:
           OSv2 service's internal caching layer — occasional cache misses within the OSv2 service backend can add latency.
           Load on the shared OSv2 service — during high traffic periods, response times may increase.

Resolution

No workaround — delays of 300–500ms on OSv2 retrieve calls are within the expected range for the shared OSv2 service under load.
Avoid using a custom Object Store in Cache Scope if cross-worker persistence is not needed — if the Cache Scope has a custom Object Store configuration, it still routes calls to OSv2 for every read/write.
If cross-worker consistency is not a strict requirement and the app has multiple workers, consider using the default in-memory cache instead to eliminate OSv2 latency entirely.

Knowledge Article Number

005384993

 
Loading
Salesforce Help | Article