Hi,
I am using two separate Jedis instances. One instance is used for calling BLPOP (which gets blocked if the list is empty). Using the other Jedis instance (in a separate thread), I do an LPUSH on the same list. These two instances are run by separate threads.
Irrespective of whether BLPOP happens before or after LPUSH, sometimes, BLPOP does not pop out an element -- it continues to block and I can see an item in that list is available.
Sometimes it works fine.
I am using Redis-2.8.0-rc4. Any help is highly appreciated.
Regards,
Raghava.