Nature, Benefits and Drawbacks of Caching (OCR A-Level Computer Science): Flashcards

📚Flashcards
Nature, Benefits and Drawbacks of Caching
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

13 cards from this deck

Show

Define caching

Storing frequently accessed data in temporary storage for faster retrieval

Purpose of caching

Reduce access time & improve performance

Cache hit

Data found in cache

Cache miss

Data not in cache

Memory cache

Stores frequently accessed data in RAM

Web cache

Stores web pages/resources to reduce load times

Disk cache

Stores data on faster disk like SSD

Key benefit of caching

Faster data retrieval & reduced latency

How caching reduces costs

Lowers operational costs like DB queries & bandwidth

Cache inconsistency issue

Cached data becomes stale if original data changes

Drawback: memory usage

Caching consumes additional memory/storage

Cache invalidation

Updating or removing outdated data from cache

LRU strategy

Least Recently Used - evicts old/less accessed data

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.