What is the difference between kVM and caching ?
Both KVM and cache can updated or retrieved dynamically.
Which all scenarios suits KVM over cache?
Solved! Go to Solution.
Cache should be used for transient data and can be invalidate at any time. This is good for improving the performance of your APIs by caching GET requests for a few minutes at a time, to reduce the number of backend calls required. Bear in mind that cache entries can be removed at anytime when the cache is full.
KeyValueMap is ideal for more persistence of configuration settings that are small in size. KVM entries will never be removed unless you manually remove them yourself.
Hope this helps!
Cache should be used for transient data and can be invalidate at any time. This is good for improving the performance of your APIs by caching GET requests for a few minutes at a time, to reduce the number of backend calls required. Bear in mind that cache entries can be removed at anytime when the cache is full.
KeyValueMap is ideal for more persistence of configuration settings that are small in size. KVM entries will never be removed unless you manually remove them yourself.
Hope this helps!
Also refer to relevant docs link: http://docs.apigee.com/api-services/content/types-caching-policies