How to implement distributed systems #2724
liusuyi2021
started this conversation in
General
Replies: 1 comment
-
Hello, while native scalability is still under development (see #998), you can already instantiate as many instances as you want and distribute the load by using a TCP load balancer in front of them. This works perfectly until all instances have the same configuration and all the sources are fixed (i.e. they point to fixed endpoints):
On the other hand, if sources are dynamic (i.e. they are published by a client), you have to use a single instance and distribute the load by using a swarm of other secondary instances in front of it, each configured to proxy requests from the main instance:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I achieve distributed deployment, and when a single mediaMTX reaches its limit, I want to scale the service?
Beta Was this translation helpful? Give feedback.
All reactions