The blocking queue is blocked when leaving the queue, but there is no blocking when entering the queue. BLPOP and Java's BlockingQueue are similar in use.
Since the queue length of Redis is infinite, joining the queue must be successful, and there is no such thing as queue joining blocking. And leaving the queue is blocked
The blocking queue is blocked when leaving the queue, but there is no blocking when entering the queue. BLPOP and Java's BlockingQueue are similar in use.
Since the queue length of Redis is infinite, joining the queue must be successful, and there is no such thing as queue joining blocking.
And leaving the queue is blocked