Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CO_In general usage, you use bind() only for stable, "well known" actors, and you use connect() for transient actors_ A transient actor still needs to provide an address to which other actors can send messages. It doesn't know who these will be, so doesn't have anything to "connect" with. I guess what I am saying is that I expect to connect() to things to which I am sending messages. This may be from the "well know" actors to the transient ones, or vice versa.
      singulars
    2. COYour architecture still sounds weird to me. If other actors need to know the transient actor's address, you have to pass that address around to the other actors. Either those other actors have some stable address so you can send them the new address via ZeroMQ (in which case you don't need to send them the address since you could establish the connection from the side of the transient actor) or you have an out-of-band connection (in which case, why use ZeroMQ?). Remember that PUSH vs PULL and connect vs bind are orthogonal in ZeroMQ.
      singulars
    3. COIt doesn't seem weird to me :-) You don't need an out of band connection. Consider this scenario: the transient actors would run on users PCs, starting and stopping as required - if they bind to an address, they need ephemeral ports. They would discover each other via a well-known location service, but then connect directly. Hence for each pair of transient processes that need to communicate, one side must bind to an address.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload