Page 1 of 1

scaling for large? qtys of users

PostPosted: Sat Dec 24, 2011 10:12 am
by eblade
I seem to be having some problems with streaming to multiple destinations simultaneously -- I've literally got, at this moment, 3 phones, 2 tablets, and 2 computers, all streaming audio. It's been running surprisingly decently for the most part, however sometimes when switching songs, a player will be stalled for several minutes before receiving enough data to start it on it's mission. The computer doing the serving isn't even breaking a sweat CPU wise (subsonic and the occasional ffmpeg processes combine for less than 5% cpu) . . . the router doesn't seem to be being any more heavily taxed than it can handle, either, although i don't have any specific metrics on it. The three phones are all connected via WiFi B/G, the tablets via WiFi N, and the PCs are all wired.

Anyone else have any experience with larger quantities of users than 1 or 2, and experiencing anything similar?

* edit: could this be caused by all the devices using one of two different user accounts?

Re: scaling for large? qtys of users

PostPosted: Sat Dec 24, 2011 1:55 pm
by lovebags
I've had over 20 simultaneous users so I don't think subsonic is the issue there. Could be a network thing or something unique to your setup but hard to know without more metrics. I've never had multiple user accounts all streaming but I can't see how that would cause problems?

Re: scaling for large? qtys of users

PostPosted: Sat Dec 24, 2011 2:27 pm
by BKKKPewsey
Are the "hiccups" only on the wifi devices ?
If so you may want to try changing the tablets to B/G mode.
Some routers have an issue working in mixed mode.
:mrgreen:

Re: scaling for large? qtys of users

PostPosted: Sun Dec 25, 2011 1:50 pm
by eblade
hmm. I'm going to try setting up an individual subsonic user for each test device, and see what happens there. Even if that doesn't fix it, I will at least then be able to get accurate stats from Subsonic's graphs.

It's -mostly- the phones that are losing, so I'm wondering if it's the phones softwares, or the B/G side of the router. But it does happen to all of the connections at some points. Good to know other people have done this before, though.

As an aside, I tried two tablets streaming video simultaneously, that didn't work at all. :D