In this configuration we have a publicmaster server, which accepts
outgoing connections from endpoint servers.
The reason for using outgoing connections, is to avoid the need to open firewall ports.
The master will receive requests and forward them one of the servers connected to it.
(since it's in examples I merged it into one file/binary, in the real world the two servers are obviously not in the same process)
In this configuration we have a
public
master
server, which accepts outgoing connections fromendpoint
servers. The reason for using outgoing connections, is to avoid the need to open firewall ports. Themaster
will receive requests and forward them one of the servers connected to it.(since it's in
examples
I merged it into one file/binary, in the real world the two servers are obviously not in the same process)