Intermittent Issues with Lookup Cache in Production

Not applicable

Hi,

I have an API developed and deployed in multiple environments including production. The API has a Lookup Cache policy which retrieves a token value based on session key.

The lookup has worked fine in development and test environments. But in production, we see that intermittently, the lookup fails even though the entry exists in the cache for that key. If 100 calls are made within 30 minutes, 1-2 calls return empty value (Ex: 40, 70). All other calls work fine and lookup fetches correct value from the cache for the key. The cache has an expiry of few hours.

We have a 3 MP setup in production. Has anybody else faced this kind of issue? Please advise if anyone has a suggestion to resolve this issue.

Thanks,

Vijay.

2 3 273
3 REPLIES 3

Not applicable

Hello @vijay_kannan,

This is strange behaviour, if the root cause lies at application layer. However, can you please check the value of the scope tag in the populate cache policy ?

Hi Meghdeep,

Thanks for the update. Scope is set as global since this is related to the Oauth access token and has to be referred by multiple APIs.

Thanks,

Vijay.