HardDesign: Distributed Key-Value Store (Redis/DynamoDB)

What is the purpose of a Write-Ahead Log (WAL) in a KV store?

Tests your understanding of this concept.

Answer Options

ATo log read operations
BTo ensure durability: if node crashes, WAL allows recovery of in-memory data that wasn't yet flushed to disk
CTo distribute writes across nodes
DTo improve write performance

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Distributed Key-Value Store (Redis/DynamoDB) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Distributed Key-Value Store (Redis/DynamoDB) topic (System Design Cases).

More Design: Distributed Key-Value Store (Redis/DynamoDB) Questions