Question · NestJS course · Module 8: Caching and Performance

Write-Through vs Write-Behind

Write-through vs Write-behind cache strategies:

Answer options

  • Write-behind does not write to the database
  • Write-through is always slower
  • There is no difference between them
  • Write-through writes to the database synchronously, Write-behind asynchronously

You can check the correct answer by solving this task in the CodeWorlds game.