Redis as a queue
Course: Redis (Pub subs and Messaging queues) - chapter 5
You can also push to a topic / queue on Redis and other processes can pop from it.
Good example of this is Leetcode submissions that need to be processed asynchronously

Pushing to a queue
Section titled “Pushing to a queue”LPUSH problems 1LPUSH problems 2Popping from a queue
Section titled “Popping from a queue”RPOP problemsRPOP problemsBlocked pop
Section titled “Blocked pop”BRPOP problems 0BRPOP problems 30The last argument represents the timeout before the blocking should be stopped