All Questions
Redis easy

Which Redis data type is most efficient for storing a complex object with multiple named fields, such as a User profile?

  1. A List: Best for ordered streams or simple notification queues between microservices.
  2. B Hash: Maps string fields to string values, ideal for representing structured objects.
  3. C Set: An unordered collection of unique values optimized for membership testing.
  4. D Bitmap: A memory-efficient way to track boolean flags across millions of integer IDs.

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

Get the app

Related questions