>_ IzzyLab

Topic breakdown

Besides plain keys, Redis stores data structures, and a list works great as a queue. A list is ordered, and the final order depends on which end you add elements from: pushing to the head lays them out reversed, pushing to the tail preserves the listed order. LRANGE with the indices 0 -1 reads the whole list; several elements can be added in a single redis-cli command.

What's checked

  1. list queue contains first, second, third in order

What it looks like