Architecture Question:

Download Job Interview Questions and Answers PDF

What is the purpose of cache? How is it used?

Architecture Interview Question
Architecture Interview Question

Answer:

Caching is often considered as a performance-enhancement tool than a way to store application data. If u spends more server resources in accessing the same data repeatedly, use caching instead. Caching data can bring huge performance benefits ,so whenever u find that u need to frequently access data that doesn’t often change, cache it in the cache object and your application's performance will improve.

Download Architecture Interview Questions And Answers PDF

Previous QuestionNext Question
What are the types of memory management?What is the race around condition? How can it be overcome?