this post was submitted on 12 Jan 2024
107 points (100.0% liked)

Technology

37720 readers
50 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] dan@upvote.au 10 points 10 months ago (1 children)

People don't realise how expensive video streaming is, especially at a larger service's scale. There's no just way to have a fully free service with no ads (or even just minimal ads).

[–] towerful@programming.dev 5 points 10 months ago* (last edited 10 months ago) (1 children)

It's not even the servers or VOD storage. It's the bandwidth.
Live streaming isn't cheap. AWS have example pricing:
https://docs.aws.amazon.com/solutions/latest/live-streaming-on-aws/cost.html

Now, expect twitch to get a hefty discount. Even if they are paying 30% of that cost (and I've pulled that number out of my ass), that's $500 per hour for a 10k viewer stream (and that's assuming an average of 4mbps bitrate, not the source 8mbps).

A 10k (8mbps bitrate, so 80,000mbps or 80gbps total sending - egest? - bandwidth) viewer streamer is going to be on a 70/30 split.
So for a $5 sub, twitch is getting $1.50.
So that's 330 subs per hour, or 5.5 subs per minute, or 1 sub every 11 seconds to cover the bandwidth costs.

AWS EC2 outbound bandwidth calculators align pretty closely with these costs, so it's not like "video connections get the cheap networks" or anything.

[–] dan@upvote.au 2 points 10 months ago* (last edited 10 months ago)

It's all of that plus the cost of the servers, electricity, employees, etc. I'm not sure if they use AWS, but they'd definitely be using a premium blend of upstream providers (no second-rate providers like Cogent, Psychz, M247, etc) to avoid latency and reduce buffering, which I'm sure is what AWS does for their video streaming service too.

I wouldn't be surprised if Twitch hit egress bandwidth usage in the order of terabits per second during peak times. Having that much bandwidth available is not cheap.

The tricky thing with streaming is that the data can't be cached, since it's streaming in real-time, so it'd cost way more than stored on-demand video like YouTube. Big companies like Netflix, Facebook, Google, etc give large ISPs some of their caching hardware (usually for free). It significantly reduces bandwidth costs for both the ISP and the service, as YouTube and Facebook are often over 50% of an ISPs bandwidth usage.

If you look at a popular YouTube video, or a popular video or image on Facebook, it's likely coming from within your ISP's network, which is practically free for them. The caching box only needs to download it once from the upstream servers. None of that is doable with a live stream.