System Design Interview, Technology, Coding, Programming.
the cache is always up-to-date. Cons: Slower write operations due to synchronous writes, and some data might be written but never read. 3. Write-behind (Write-back): The application writes data to the cache first and then updates the database asynchronously. Pros: Improves write performance. Cons: