What is the difference between kVM and caching ?

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 Solved
0 2 810
1 ACCEPTED 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!

View solution in original post

2 REPLIES 2

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!