System Design Interview, Technology, Coding, Programming.
it. Pros: Only the needed data is cached. Cons: Cache misses cause delays, and data might become outdated if the database changes. 2. Write-through: The system treats the cache as the main data store. When data is written, it is simultaneously written to the cache and the database. Pros: Ensures