4 ms·
That could be true, especially if one live streams 24/7. It might be a nifty proof of concept if they set up a live demo without a CDN on a bog-standard VPS pr
by LinuxBender 4y ago
That could be true, especially if one live streams 24/7. It might be a nifty proof of concept if they set up a live demo without a CDN on a bog-standard VPS provider like Linode, DigitalOcean, Vultr, etc... Does anyone here have this running in one of the VPS providers?
- mig39 4y agoAlso interested to know this. How many people watching can a cheap VPS like Linode handle?
- vel0city 4y agoRunning the numbers for 300 streamers at ~3Mbps each for ~30 hours a week works out to 12,150,000MB. That value * 4 for about monthly bandwidth usage. For a s-4vcpu-8gb instance on DO, that's ~$436 monthly overage on a $40 monthly cost droplet. Not too insane, but you're really stressing out that single droplet. You'd probably want to balance that across a few different instances across the country instead of it all being on a single droplet, in which case you're essentially rolling your own probably crappier CDN and trading CDN costs for your time managing it all.
- LinuxBender 4y agoAgreed that was my thought process as well. One could spin up a few dozen instances, start the live stream and then nuke the instances. That should scale to however many viewers one has. I guess that begs the question does this application have the instrumentation or hooks that would make it super simple to scale up nodes on demand? Like an API to query number of viewers and their bandwidth settings to calculate required capacity.
- thakoppno 4y agoFor ~300 streamers, wouldn’t a single symmetrical fiber 1gbps line, like a residential AT&T install, basically cover it? The TOS prohibits it but I always figured it’d be fine so long as one didn’t get too popular. I guess I’m wondering to what extent increased residential bandwith keeps CDN bandwidth cost in check.
- paulmd 4y agoStreamers won't want to serve directly from their home IP because it makes them a DDOS target.
- thakoppno 4y agoDdos prevention never crossed my mind, good point. I don’t spend much time in the gaming community. Who would be the most likely attacker, a competitor in the game trying to get an advantage? If so, thats kinda fascinating in a way. It’s almost like a cyberwar scenario where the battlefield is virtual and physical.
- paulmd 4y agoit's both, competitors in the game (or just trolls) have attacked random in-game players using IPs leaked from things like VOIP chat in games (which is often implemented P2P rather than running through the server) and people also specifically go after streamers to harass them. https://www.eurogamer.net/dead-by-daylight-streamers-are-being-ddos-attacked https://www.eurogamer.net/dead-by-daylight-streamers-are-bei...
- Karrot_Kream 4y agoOther than the DoS attempts the sibling mentioned, the symmetric Gigabit on a home connection varies depending on congestion, and NAT mapping could change changing your IP causing the whole Livestream session to renegotiate.
- crtasm 4y agoHere's an instance running on Linode: https://live.retrostrange.com/ https://live.retrostrange.com/ List of instances: https://directory.owncast.online/ https://directory.owncast.online/
- LinuxBender 4y agoNice! What is the highest number of viewers you have ever seen on a stream at once?
- crtasm 4y agoI just found it in the list, wonder the same.
- philnelson 4y agoPhil here, I run the RetroStrange TV channel. We’ve seen hundreds but not sustained over time. Average currently 2-15 viewers at a time. I’d love a stress test.
- throwaway81523 4y agoI've livestreamed with ffmpeg and Icecast fanned out to a layer of cheap VPS and that worked ok. Yes there was enough lag to be annoying but not anything like 40 seconds.