All Questions
Redis hard

The `INFO memory` command reports a `mem_fragmentation_ratio` of 1.5. What is the specific technical interpretation of this metric?

  1. A Redis is using 50% more physical RAM (RSS) than the data itself actually requires due to page gaps or allocator overhead.
  2. B The total dataset size in bytes is exactly 1.5 times larger than the current maximum allocated heap partition limit.
  3. C All internal string values are being successfully compressed by a factor of 1.5x using the native LZ4 algorithm.
  4. D The memory health is optimal; this ratio indicates that the internal garbage collector is running at maximum efficiency.

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

Get the app

Related questions