readme: Add note on clustering.

This commit is contained in:
Joachim Bauch 2022-06-29 11:13:42 +02:00
parent 0e144906a4
commit 5a242b2570
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -157,6 +157,20 @@ proxy process gracefully after all clients have been disconnected. No new
publishers will be accepted in this case.
### Clustering
The signaling server supports a clustering mode where multiple running servers
can be interconnected to form a single "virtual" server. This can be used to
increase the capacity of the signaling server or provide a failover setup.
For that a central NATS server / cluster must be used by all instances. Each
instance must running a GRPC server (enable `listening` in section `grpc` and
optionally setup certificate, private key and CA). The list of other GRPC
targets must be configured as `targets` in section `grpc` or can be retrieved
from an etcd cluster. See `server.conf.in` in section `grpc` for configuration
details.
## Setup of frontend webserver
Usually the standalone signaling server is running behind a webserver that does