Skip to content

How does PUB/SUB behave in Java? #3569

Answered by sazzad16
Gandalf1783 asked this question in Q&A
Discussion options

You must be logged in to vote

Does this mean that the Jedis library is capable of operating as usual and firing the listener if needed?

No.

Do I need a second JedisCluster instance in order to subscribe and still use operations on e.g. hashes?

IMO, that's better. Because if you subscribe (multiple times), some connections would be busy in subscription. This means you would have less number of resources available to server your other operations.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Gandalf1783
Comment options

@Gandalf1783
Comment options

@sazzad16
Comment options

Answer selected by Gandalf1783
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants