All Questions
Redis easy

Redis uses a Single-Threaded Event Loop for command execution. What is a key operational implication of this architectural design?

  1. A The server cannot utilize CPU caches efficiently, leading to slow performance on modern chips.
  2. B Heavy O(N) commands (like `KEYS *`) can block the thread and freeze the entire database.
  3. C The database can only accept one network connection at a time from a single physical client.
  4. D Redis is forced to use multiple threads for writing to ensuring durability on NVMe storage.

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

Get the app

Related questions