Question 5 of 10Pro Only

What is the difference between Write-Through and Write-Back strategies for cache writes?

Sample answer preview

Write-Through and Write-Back are two strategies for handling writes when using a cache. With Write-Through, every write simultaneously updates the cache and the database. The operation is only considered complete when both writes have succeeded.

synchronousasynchronousconsistencylatencydurabilitybatch

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Backend Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime