Networking
Echo-D is a distributed system that is designed to be deployed in a network of nodes.
The system is composed of a leader with other nodes.
The leader is responsible for making sure Symbols are indexed consistently.
This is only important if compressStringsAsInts
is set to true
in the configuration.
The leader is flagged using isSymbolLeader
in the configuration.
One Host, Multiple Clients
This is the simplest network topology. One host and multiple clients. The host will provide state to the clients and the clients will send inputs to the host.
Multiple Hosts, Multiple Clients
It is possible to have multiple hosts in the network. This is useful for redundancy and load balancing. The clients will send inputs to the hosts and the hosts will send state to the clients. The hosts will keep the state in sync with each other.