All Questions
Scaling Writes hard

MySQL's InnoDB engine writes pages to a 'Double Write Buffer' before writing them to the main data files. What specific hardware failure does this prevent?

  1. A CPU overheating.
  2. B Network Partition.
  3. C Deadlocks.
  4. D Partial Page Writes (Torn Pages): If power fails while writing a 16KB page, only 4KB might reach the disk, corrupting the page. The buffer allows recovery from the backup.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions