In pub/sub redis pushes the data to client directly. In Redis stream , looks like, the client has to constantly poll for new items.
I did read this - https://redis.io/topics/streams-intro#listening-for-new-items-with-xread
If I implement a consumer which is supposed to the process all the messages in more or less real time, Should I look for new items in an infinite loop with some BLOCK time. ? Is there any best practice for BLOCK time. For ex: 1 hour - is it good or bad? Does it have any impact on redis?
Thanks.