A cache keeps frequently read data in fast memory so that repeated requests do not hit a slower database. That lowers latency, often from milliseconds to microseconds, and reduces load and cost on the database, because fewer reads reach it and it can often be a smaller size. Caching works best for data that is read far more often than it changes, such as product catalogs, user profiles and session data. The exam asks two kinds of question: which cache service fits, and which caching strategy fits.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.