Support huge ensembles (> 250 connected clients) #1419
Replies: 3 comments 12 replies
-
Since bandwidth use is I assume just additive, would the unknown be how CPU and memory usage scales? Interesting to observe how things behave on a server if you set up a large number of machines each running a large number of clients. Say, 10 Windows VMs each running 100 clients sending a signal to the server :-) I think people use AWS for stress testing like this sometimes if they have the money. |
Beta Was this translation helpful? Give feedback.
-
In my recording remote I also implemented an automix feature with a rough autopan (uniform distribution from left to right, with extremes half of the distance between clients). Regarding the automix, it's done at the end of the session so it is not immediately applicable for realtime. |
Beta Was this translation helpful? Give feedback.
-
I think huge ensembles is possible. Here are some observations:
|
Beta Was this translation helpful? Give feedback.
-
I would like to discuss ideas on how to support mass singing events with more than 250 clients.
It seems to be very easy to push the limit from 150 to 256, by changing this line in global.h:
// maximum number of connected clients at the server (must not be larger than 256)
#define MAX_NUM_CHANNELS 150 // max number channels for server
The question is how to support even more. The two limiting factors would be CPU and bandwidth.
So I guess my question is: Do you foresee any problems with changing that limit? Is there some stuff that needs to be done on a single core and would max out with let's say 1000 clients?
PS: I'm aware that this would be a nightmare to mix manually, so I am looking forward to the auto-mix feature and the single-mix option. There might also be a way to do an auto-pan.
An alternative idea I had involved chaining servers together (see picture below). The servers and the streaming clients would run on the same cloud netwerk so ping is negligible, but this architecture would come with a latency penalty.
Beta Was this translation helpful? Give feedback.
All reactions