I have two KVM created through UI.
Key of the 2nd KVM is values of the entries of 1st KVM. For example,
KVM1
==============================
API1 ============>> SLOW_TIMEOUT
API2 ============>> FAST_TIMEOUT
KVM2
============================
SLOW_TIMEOUT =========>> 5000
FAST_TIMEOUT ==========>> 10000
Now I have the literal "API1", I have to get the timeout value.
Do I have to add two KVM policy to get the timeout? Can it be done in one policy?
Also what would be values of the <Scope> and <ExpiryTimeInSecs> tags.
I want to retrieve the values everytime of the proxy execution cause timeout can change.
Will there be performance hit if i call KVM to retrieve value every time of proxy execution?
Thanks,
Krish
Solved! Go to Solution.
Yes, you will use two KeyValueMapOperations to retrieve the data you want.
As for Scope and ExpiryTimeInSecs, the values you choose for those settings depend on your use case. I'll refer you to the documentation for further information, but in quick summary:
Yes, you will use two KeyValueMapOperations to retrieve the data you want.
As for Scope and ExpiryTimeInSecs, the values you choose for those settings depend on your use case. I'll refer you to the documentation for further information, but in quick summary:
Thanks @Dino. Nicely explained.
Follow up question, Is there anyway i can tell MP that cache is updated. Go ahead and refresh it. Can't we do it through mgmt API?