Routing of messages
Y::Notifier - Specification - Routing of messages
Aside
Local client-server connections are
AF_UNIX (TCP)
by default
Server-server connections are
AF_INET (TCP)
What is allowed - very important
Clients only subscribe to subjects with their local server
Servers, on behalf of their clients, subscribe to those subjects with the other servers
Servers
do not
subscribe on behalf of other servers
Servers route messages from
client to client - target client is on the same host
client to server - target client is on destination server's host
server to client - target client is on localhost
Servers
do not
route messages from server to server
Therefore
Messages make 2 hops minimum (client - server - client)
Messages make 3 hops maximum (client - server - server - client)
Y::Notifier - Specification - Routing of messages