Changing the status of the Organization/Application is not reflected instantly

Hi,

Work Scenario -

Getting the Organisation|Application details based on the state of the Organisation|Application.

Details -

A custom attribute state - being active|inactive is maintained for an Organisation|Application.

I am updating the status of the Organisation|Application using management APIs.

Note - A get management API on the details of the Organisation results shows the change in values for the state attribute.

Issue -

I am trying to retrieve the state information of an Organisation|Application in the API proxy using VerifyAPIKey policy in which the status of the Organisation|Application is not updated instantly.

It responds with the valid state alternatively.

But after a certain lag, it is updated. This is noticed every time there is an update on the custom attribute state value.

What could be the issue for this?

Note - I am trying this on a free org.

0 2 148
2 REPLIES 2

@Nisha Mallesh ,

It's by design due to message processor cache.

When you store the settings, first it will be stored in Cassandra. Cassandra enables us to provide distributed caching across multiple processing servers when we scale and even across regions. Cache in Message processor will be updated after some time. Due to that you will see some delay in changes getting reflected. For more details refer article here.

Thanks @Anil Sagar

Is there any way to resolve this?

Is this because, it is a free org and better in the paid version?