I have seen it mentioned that ZMQ supports a many-to-many PUB/SUB relation.
In this case what I would like is to have multiple subscribers to multiple publishers, (this is for a common bus style application), however what I am confused about is how to physically implement it since I have also seen it mentioned that there can only be a single bind and multiple connections to that bound socket.
Thus I am slightly confused as to how to achieve this.
I have seen that pgm may be a way to acheive this (since all members would connect to the same multicast address), but I am not sure how to physically do that...
A
PUB_Aon a Computer APUB_A.bind()-s, anySUBmay.connect()there, onto AA
PUB_Bon a Computer BPUB_B.bind()-s, anySUBmay.connect()there, onto BA
rev_PUB_Con any hostrev_PUB_C.connect()-s to a few or manySUB-s, who've had a previously successfulSUB_xyz.bind()onto their respective local address(es)And the merry-go-round goes on, as the distributed system designer likes it to let the show evolve.