Choose Right Component Flashcards
(13 cards)
Which cache eviction policy is to be used for caching recommended videos?
MRU
Which cache eviction policy is to be used for caching products on e-Commerce website?
LFU
Which cache eviction policy is to be used for the CPU buffer cache?
LRU
When do you use cache-aside cache?
When you can’t afford to loose data
When do you use a read-through cache?
Strong Consistency requirements
When do you use a write-through cache?
Strong Consistency requirements
When do you use a write-back or write-behind cache?
When do you use a write-around cache?
When data is written once but rarely read.
E.G. real-time logs, chat room messages
Which RAID configuration to use for increasing speed?
RAID 0
Which RAID configuration to use for increasing reliability?
RAID 1
Which RAID configuration to use for increasing speed as well as reliability?
RAID 5 (allows for single disk failure). Min: 3 disks required
How RAID 5 is different from RAID 6?
RAID 6 allows for two disk failures.
What is RAID 10?
Every two disks are first put in RAID 1 and resulting disks are put in RAID 0. 50% capacity is used for redundancy.