All Questions
Redis easy

Which internal Redis data structure is most suitable for implementing a simple First-In-First-Out (FIFO) Message Queue?

  1. A Set: A collection of unique strings that does not preserve addition order.
  2. B Hash: A map between string fields and string values for object storage.
  3. C List: A linked list of strings that supports efficient pushing and popping.
  4. D String: A single binary-safe buffer limited to 512MB of total data data size.

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

Get the app

Related questions