27 ms·
Ask HN: Video streaming is expensive yet YouTube "seems" to do it for free. How?
Can anyone help me understand the economics of video streaming platforms?
Streaming, encoding, and storage demands enormous costs -- especially at scale (e.g., on average each 4k video with close to 1 million views).
Yet YouTube seems to charge no money for it.
I know advertisements are a thing for YT, but is it enough?
If tomorrow I want to start a platform that is supported with Advert revenues, I know I will likely fail. However, maybe at YT scale (or more specifically Google Advert scale) the economics works?
ps: I would like this discussion to focus on the absolute necessary elements (e.g., storing, encoding, streaming) and not on other factors contributing to latency/cost like running view count algorithms.
- harrcliff0410 2y ago[dead]
- iwanttocomment 2y agoYouTube generated $31.5 billion in advertising revenue in 2023. https://www.businessofapps.com/data/youtube-statistics/#:~:text=YouTube%20improved%20its%20percentage%20revenue,generated%20%2431.5%20billion%20in%202023 https://www.businessofapps.com/data/youtube-statistics/#:~:t.... That's... a lot! Plenty of historical precedent for fully advertising-supported media with high expenses, from OTA network television and radio to free weekly newspapers... or inexpensive subscriptions to daily newspapers subsidized by advertising. Advertising has been paying the bills for electronic media for a century now.
- KennyBlanken 2y agoRevenue is not net profit.
- Waterluvian 2y agoNo, but it demonstrates they have at least $31 billion to make it all work.
- rgbrenner 2y agoYes. For comparison, Netflix has about $30B in revenue... paid up front for all of its content (something youtube doesnt) and accounts for a larger percentage of internet traffic (likely because of higher quality streams)... and they still made $6B net profit.
- londons_explore 2y agoNetflix content is highly coachable (tiny library Vs YouTube), which dramatically reduces the cost of serving the data to users.
- luke-stanley 2y agoI think londons_explore means "cacheable" - able to be cached. But I don't think either would need to cache the whole catalogue ahead of time.
- joseda-hg 2y agoI thought it was more directed towards "Coachable" as getting to select and train /trend towards more profitable content
- luke-stanley 2y agoYeah I thought that way too at first, it's an interesting take. These days maybe ML could help auto-coach promising content producers. For the other take: maybe pre-caching content that's more cost saving to cache than it is to not cache it can be aided by ML too. But replicating smaller libraries of content at all regional replica nodes is probably more straight forward at first.
- whiplash451 2y agoWhich also means that diversity is a bad deal for Netflix. They have a direct financial incentive to have more people watch the same thing.
- samspenc 2y agoThe mind-blowing thing about this I found out recently, is that analysts think that Youtube is still losing money, even after making $31.5 billion in revenue! From 2015 "Some unnamed person at Google reportedly said that the site is "roughly break-even." https://www.cbsnews.com/news/4-reasons-youtube-still-doesnt-make-a-profit/ https://www.cbsnews.com/news/4-reasons-youtube-still-doesnt-... which in turn quotes https://www.wsj.com/articles/viewers-dont-add-up-to-profit-for-youtube-1424897967 https://www.wsj.com/articles/viewers-dont-add-up-to-profit-f... From March this year (2024): "Analyst Michael Nathanson of MoffettNathanson estimates that YouTube TV will become profitable this year" https://www.newscaststudio.com/2024/03/29/youtube-tv-profit-leader-2024/ https://www.newscaststudio.com/2024/03/29/youtube-tv-profit-... Part of this could be because they pay out roughly 40-60% of the revenue to the content creators, that leaves Google / Youtube with half the revenue that they use to pay salaries, maintain infrastructure, including storage, hosting and serving content.
- rgbrenner 2y agoNetflix spends over 50% of it's revenue on content production and licensing ($17B out of $30B), and they made $6B net profit in the past year.
- Ferret7446 2y agoNetflix doesn't need to subsidize anything. YouTube subsidizes a lot of videos which don't have ads.
- rgbrenner 2y agoNetflix serves a slightly larger portion of internet traffic than YouTube on the same amount of revenue. So whatever subsidization youtube is providing for those videos, is clearly outweighed by the monetization of the remaining videos. YouTube has higher revenue per GB of bandwidth served than Netflix.
- octodog 2y ago
- huijzer 2y agoI think this is the answer. Also, storage and compute purchase prices are probably falling roughly as fast (or maybe even faster) than their storage and compute requirements go up. So even with their massive storage requirements, I wouldn't be surprised if they are more profitable each year.
- mcwhy 2y agoyoutube is the modern nanny and that is the most valuable ad space on the planet
- parasti 2y agoI realized this as I saw many of my favorite gaming Youtubers chase the algorithm and change their content to stay relevant. It all eventually converges on content that children would find entertaining. They're the biggest demographic spending the most time looking at ads. That's where following the algorithm leads.
- mycologos 2y agoGaming is perhaps more child-adjacent than other topics?
- reaperman 2y ago> especially at scale The marginal costs go down a bit if your scale is truly immense. Google can afford to design/manufacture/deploy hyper-efficient custom silicon ASICs for encoding. Also because their critical mass of users provide valuable network effects, they can get away with particularly poor quality encoding (IMHO) and the vast majority of users still won't switch to other platforms with higher visual quality - but other (non-pornographic) video platforms generally don't have that luxury.
- abofh 2y agoEncoding is largely super-linear for a single stream, so you just need enough cores for the intake * formats. Streaming is mostly chunking and a smart player that loads the right chunks at the right time. Storage is bottom dollar, use whatever the cheapest disks you've got that you can attach to fiber, then cache the hell out of everything. So in short, the only "on-demand" component is encoding, and if you don't have an 'available in an instant' promise, you can do it on spot instances on the cheapest cloud you can find; The rest is just storage and distribution - if you own a world-wide network of datacenters for your successful advertising service, that's kinda an already solved problem for you - just allocate a few racks to a new service. I of course downplay everything and simplify massively - but at a high level, it's just a lot of ffmpeg -> S3 -> html5 player. The harder problems are in the long tail - high latency, content licensing & geo fencing, etc. Source: used to SRE for a video streaming provider (not YT), also former GG
- javajosh 2y agoSo basically YouTube is profitable because it strongly synergizes with adwords infra. That sounds both reasonable and not a little unfair.
- sargun 2y agoVideo streaming is expensive for you. Google is incredible at making things cheap that we all thought were expensive.
- fuzzfactor 2y ago>Google is incredible at making things cheap As Curly would say, "Eh, a big cheapskate, nyuk nyuk !" ;) It's true they do have a "cheapening" effect, especially over time, but Curly's a knucklehead, I wouldn't want to compete with them on their own terms. That's a big gorilla. >If tomorrow I want to start a platform Seems like one approach would be to start out with what you can easily afford to begin with. Which brings me exactly to the bare bones of storing, encoding, streaming and nothing else. If nothing else to minimize complexity and cost of getting started. And to possibly obviate the need for monetization up to a point. To launch, just pick one fairly popular & accessible format/bit-rate and encode all your raw content (or a test portion of content) the exact same way in advance. Afterward, you're done with that phase and free of any need for real-time encoding. You still need to store and subsequently "outstream" your ready-to-deliver content. It may actually cost you nothing to store a working copy of your encoded content "library" on your own private server on your own designated premises, especially if you already own the storage devices and there is plenty of unused storage space. There are also alternatives that are not without cost, only you could decide if it was worth money or not. Naturally you will be limited by the bandwidth and infrastructure at each storage location, as to how many viewers at what resolution you can directly serve at one time, and whether or not the ISP/router can be configured to allow outside access to your server. If you're going to use 100Mbps of surplus upload bandwidth from a business internet account for instance, and your content was encoded at 1.5Mbps (don't even think about 4K), it may be no additional cost to start serving viewers directly from that server, but you would not be able to serve more than about 50 viewers at one time. That might get you started (at an appropriate scale) with no cash outlay whatsoever, and if the demand was there beyond a few dozen viewers then you could decide to pass your stream along to a more capable content delivery network of some kind, at various incremental cost. Alternatively, the whole thing could be outsourced and hosted for world-wide access in a turnkey operation where all you do is supply the content. Cost may be a prohibiting factor, it does seem like there are hosting plans with a free tier but not with enough bandwidth to serve a meaningful number of viewers compared to YT. Fortunately for YT, when they got started they didn't have competition already showing 4K stuff to compare to. But if the action you take, has cost within the range of what you can easily bear, you could then afford to deliver a completely superior, ad-free experience for your fortunate few viewers. If you wanted to. Something a multi-billion-dollar company seems to be less and less able to afford. What a position to be in. If the whole thing actually was costing you no cash at all you'd be free to make it seem as free and frictionless as YT, probably more so because it was free from the ground up. >a platform that is supported with Advert revenues If you did decide to go this route and were sustainable without ads to begin with, you could very judiciously choose your sponsors to be ones that did not conflict with any feature that is more meaningful to the visitors. You would also be financially ahead beginning with the first ad you decided to run. And you could decide to stop at any time.
- miyuru 2y agoFor streaming, google have caches in like every ISP network. Also majority of the people watches the latest and same type of content that is mainly served from the homepage, which is easier to cache and serve. If you have the ipvfoo extension, you can see it in action. (its easier to see with IPv6) https://github.com/pmarks-net/ipvfoo https://github.com/pmarks-net/ipvfoo
- mysterydip 2y agoI wonder if that's part of the reason for their algorithms to push the same videos to everyone, they're already cached at the edge so it costs them nothing?
- leros 2y agoI would imagine it's an unintended side effect of the "people recently watched this so it's relevant" part of the algorithm.
- kmeisthax 2y agoMore popular works are more likely to be enjoyable to more people. There is no really objective measure of quality for any creative work, and taste doesn't scale, so publishers bias for popularity as it's one of the few things they can understand.
- michaelt 2y ago> taste doesn't scale The motto of so many social networks. Even if they don't know it.
- carlosjobim 2y agoThe majority will enjoy and like whatever is pushed on them. Decades of radio and TV should be enough evidence for this. Music or video is not popular because people like it, but because somebody decided to make it popular by pushing it on people.
- wiseowise 2y ago
- jl6 2y agoIt probably costs them a ton of money, but they probably make a ton more so that’s OK. Also: bandwidth gets a lot cheaper when you own the pipes. And one that is less obvious: despite having hundreds of millions of videos available, a large contingent of people are watching the same ultra-popular ones. There are some economies of scale to be had there.
- tombert 2y agoThe thing that fascinates me isn't the bandwidth part, it's the fact that every video needs to be (to some extent) transcoded. If nothing else, most videos get encoded at several different bitrates and resolutions. While I highly doubt Youtube is just plopping the videos into a queue and firing up `ffmpeg -i myvid.mp4 -c:v libx264 -y outvid.mp4` and presumably they some dedicated silicon (or at least FPGAs) handling it, but even still it's incredible how they can pull that off. Video conversion is fairly expensive!
- crazygringo 2y agoTranscoding isn't that expensive. Especially when you're already running ginormous data centers and can transcode on processors that are otherwise idle. Also, video quality on YT is not great. When you're using ffmpeg to transcode a movie at home, you're probably doing it with fairly high quality settings because it's a movie. But you can also configure ffmpeg to transcode very quickly if low quality output is fine.
- tombert 2y agoEven still, doesn’t YouTube get 300+ hours of video uploaded ever minute? Even if you do the ffmpeg veryfast setting I would think it would still take a lot of resources.
- crazygringo 2y agoWell sure, but they have a lot of computers... the point is that it's not disproportionately resource-intensive compared to storage and streaming.
- kmeisthax 2y agoFor the streaming factor specifically, I can at least offer something resembling an answer: Google. In the early 2000s they bought up a bunch of dark fiber and peered with all the major US ISPs, and they were able to do this because no ISP wants to be the one that blocks or degrades Google. As a result they were able to host video streaming on their network without immediately being shut down by Comcast and co. Instead they had to go after Netflix. Google has a lot of custom encoding silicon, too, AFAIK. Storage is the biggest question of the three. Linus Sebastian specifically called this out when YouTube started really pushing to make the non-Premium experience dreadful. There isn't really some secret special sauce you can buy or make for storage. Literally everything is being stored with the same hard drives, SSDs, discs, or tapes you can just go out and buy. The only specialization you can do is build or buy equipment to handle extreme numbers of them. Google does buy these in bulk, so they probably get a discount on storage, but it's not something that would make storage costs just go away.
- averageRoyalty 2y ago> Google. In the early 2000s they bought up a bunch of dark fiber and peered with all the major US ISPs, and they were able to do this because no ISP wants to be the one that blocks or degrades Google. As a result they were able to host video streaming on their network without immediately being shut down by Comcast and co. This sounds like a good answer, but falls away drastically when you realise the vast majority of consumer of YouTube are outside of the USA, which in turn means so are those bandwidth costs. Are you guessing or have I missed something here? I can't see how this could be a significant enough factor to make the global model work.
- echelon 2y agoWhen does YouTube start deleting content? They'll have to do that eventually, right?
- sebzim4500 2y agoSo long as storage costs decrease exponentially I think they'll keep everything. Especially if the amount of content uploaded keeps going up, so the relative benefit of deleting old stuff is small.
- tithe 2y agoBandwidth/Transport costs for live streaming, especially in group conference call scenarios (where N streams needs to be broadcasted to N-1 participants) become prohibitively expensive after about 8 or so participants unless you can offload those bandwidth requirements to other places (e.g., like in a peer-to-peer architecture). How Zoom manages to do this in a client-server fashion and is still financially solvent is also a question I've had for a while, but like others say, discounts on the transport and peering arrangements will be a key part in making those economics work, as compression and storage are relatively solved problems here.
- danans 2y ago> Bandwidth/Transport costs for live streaming, especially in group conference call scenarios (where N streams needs to be broadcasted to N-1 participants) become prohibitively expensive after about 8 or so participants unless you can offload those bandwidth requirements to other places (e.g., like in a peer-to-peer architecture). I doubt they send N-1 full resolution streams to each participant. They probably send only the currently focused stream in full resolution, the unfocused streams in low res, and don't stream any of the non-visible participants. As you change focus between the streams you can sometimes see as it renders the low res stream briefly until the high res stream is received.
- constantcrying 2y agoThe value of YouTube isn't purely monetary. Controlling YouTube is extremely advantageous for Google, even if it isn't particularly profitable. Besides the general advantage of having control over such a massive platform, which definitely plays an important part in the lives of hundreds of millions of people, Google likely views YouTube as important to control. If YouTube were a separate entity, it could e.g. freely choose their ad providers or even provides ads themselves, essentially creating competition for Google. Google also has trivial access to the data there and therefore the easiest access if they want to train AI on that data. Last but not least I think Google sees YouTube as vital for their corporate image and their social mission presented in Google Jigsaw.
- kavalg 2y agoThe AI training aspect for sure, but I think is is also about not giving a competitor the tools to profile users and target ads the way they do.
- xivzgrev 2y agoDisclaimer: I used to work at a live video streaming company as a financial analyst so quite familiar with this The biggest cost is as you imagine the streaming - getting the video to the viewer. It was a large part of our variable cost and we had a (literal) mad genius dev ops person holed up in his own office cave that managed the whole operation. Ive long forgotten the special optimizations he did but he would keep finding ways to improve margin / efficiency. Encoding is a cost but I don’t recall it being significant Storage isnt generally expensive. Think about how cheap you as a consumer can go get 2 TB of storage, and extrapolate. The other big expense - people! All those engineers to build back and front end systems. That’s what ruined us - too many people were needed and not enough money coming in so we were burning cash.
- tithe 2y agoCurious: was your distribution client-server or peer-to-peer? Or both, similar to Skype's supernode model?
- michaelt 2y agoThe overwhelming majority of "legitimate" video streaming sites operate on a client-server model, which allows videos to be watched in web browsers, and on mobile devices (which don't generally do well in P2P as they find uploading difficult). And generally torrent-based streamers don't hire financial analysts :)
- Dylan16807 2y agoThankfully the FCC definition of "broadband" is getting more symmetrical over time. And doesn't webrtc take care of connecting browsers pretty well? The current definition requires 20Mbps of upload, and uploading a youtube-quality video to two other people would not take a big fraction of that. Though it would help if ISPs stop trying to set bandwidth caps at <5% utilization levels.
- michaelt 2y ago
- deadlyllama 2y agoDIY (instead of the cloud) is the answer. If you're pushing terabytes+ from day 1 on a shoestring, you're going to want your own CDN. If you can manage a queueing system and the occasional wait, run your own (or rented physical) hardware for transcoding at as high a utilisation as you can. Build vs buy pushes you to "build" early on when your margins are slim and your volume is huge.
- exe34 2y agothey lose on the unit item, but make it up on the volume!
- master_crab 2y agoStorage, transcoding/encoding, and any other compute operations (rendering, etc) are small compared to data transfer costs. At the scale of the largest streaming apps (Disney, Netflix, YouTube, etc) you are moving petabytes of data PER DAY. At that size, you have access to significant savings on CDNs, backbone providers, etc. in many cases the discounts will be 90% - I have seen as high as 99% - or higher off the “list” price (which are usually never paid by anyone anyway). You also tend to own your own backbone and can link in whichever ISP wherever you want for the “final mile.” Final note, when you have been doing this long enough, you can start shaping the traffic based off previous patterns. I remember an eBay listing years ago for a Netflix local storage device that was meant to store shows at an ISP’s data center.
- neongreen 2y agoI suppose you mean these appliances? https://openconnect.netflix.com/en/ https://openconnect.netflix.com/en/
- deleted 2y ago[deleted]
- Waterluvian 2y agoIt sure doesn’t feel free. YouTube has cranked the ads up so frickin’ high that I swear they’re quietly in panic mode about profitability. Every month I notice the temperature of the pot is up a few degrees. This month it’s unskippable 15 second ads before most videos. Last month it was the first search result now being an ad. Before that it was how 5 second ads are now 7 seconds. If I thought to write them all down I’d have a dozen more steps to share. My kids now call it “the Bad YouTube” vs. YouTube Kids because the former is flooded with ads.
- crazygringo 2y agoThe economics are simple: > I know advertisements are a thing for YT, but is it enough? Yes, it is -- virtually certainly. We can assume YouTube is profitable. It's not broken out directly in quarterly reports, but it doesn't make any sense that Google would still be running it after all these years (almost 20) if it weren't. But obviously YouTube didn't start out as profitable. You need scale, which provides two things: 1) Marginal storage and streaming costs go down (Google is big enough to save huge amounts of money by running its own data centers, peering agreements, caching near customers, etc.) 2) More advertisers running more ads that can be targeted to more users whose preferences you know more about So no, you can't run it profitably. This is a classic example of a business that is only profitable at scale, that needs to lose a lot of money at first as it grows until it achieves scale. And it's not just scale on the traditional tech/users side, it's scale on the advertising side as well -- advertisers aren't going to bother running ads on your platform until you have enough users for them to care. It's also pretty strongly a "winner-takes-all" network effects situation, where video publishers want to put up their videos where the viewers are, and viewers want to visit the site where all the content is. So if you wanted to create a YT competitor, I don't know how you'd convince content creators to post their videos to your site in addition to YT, or how to convince consumers to watch said videos on your site instead of YT.
- tialaramex 2y agoAlso scale on the supply side. It took time to get to a place where obviously the video should be on Youtube, and that's hard to replicate. This applies to the content which would exist anyway, and then doubly to content created for Youtube. Grand Pooh Bear would be on Twitch anyway, but it doesn't really make sense for a Tom Scott, let alone "Corrections" which is a Youtube-only addition to Seth Myers "Late Night" show. Likewise until it gets fairly "big" it doesn't make sense to officially put your music videos on Youtube. Today that's basically the main way they're getting seen.
- AlbertCory 2y agoDisclaimer: I worked at Google and occasionally did things for YT, but it was 2015 and before. I did look at their P&L, somewhat. egress costs were enormous and YT was not profitable. I don't know if it is now, but I wouldn't be surprised to find it is. They sure have enough ads. As several people say below, caching content around the world is key, so that not all requests are serviced in NoCal.
- kfarr 2y agoBingo, YT has always been a loss leader for Google dominance. Only recently have they squeezed the ads knob to maybe generate a profit but I’d bet it’s nothing like the high margin AdWords cash cow.
- dankwizard 2y agoIt's so wild to see people so confidently being wrong in a comment. YouTube has seen profit since 2013, with margins growing each year.
- AlbertCory 2y agoit's so wild to see people so confidently wrong. I was there. Were you?
- paxys 2y agoI was there as well, and Youtube was wildly profitable. See how easy it is to make random statements on the internet.
- AlbertCory 2y ago[flagged]
- pclmulqdq 2y agoI don't know why you're getting downvoted. Efficiency projects like the transcoding ASIC are a big part of pushing YouTube to profitability, as well as the alternate revenue streams and heavy increases in monetization. Video serving is extremely expensive and difficult compared to everything else Google does. Ruth Porat has been on record many times indicating that YouTube wasn't profitable in the 2010's. I think her public statements have only indicated that YouTube was free cash flow positive as of the 2020's, but I haven't found exactly where that happened - Google has experimented with a lot of different kinds of breakdowns of its finances. I assume that hiding the economics of YouTube is part of this (as well as protection against a zealous DOJ saying that Google's businesses are separable).
- Strom 2y ago> Streaming, encoding, and storage demands enormous costs -- especially at scale When you look at costs per unit, then it gets cheaper at scale, not more expensive. For streaming, at scale you can afford to do peering yourself, instead of buying bandwidth. For encoding, at scale you can afford special purpose encoding hardware, instead of using general purpose hardware. For storage, at scale you can get cheap bulk deals with drive manufacturers.
- williamstein 2y agoIs there any way that I can pay YouTube so that the videos I post do not have ads when people view them for free? I think there is a clear answer to this question for video, and it’s ~$60/month.
- pinakinathc 2y agoor you can use AdBlockers -- I bet the infra people will love it :p
- williamstein 2y agoThe problem isn’t for me. The problem is that customers who want to learn about my product via my videos are forced to watch ads if they don’t have an adblocker.
- 1f60c 2y agoCan't you host the videos yourself or use another managed service (such as Cloudflare Stream—no relation)?
- williamstein 2y agoYes of course that is possible. However there is significant value add from YouTube, comments, subscribe, SEO (YouTube videos often come up in google searches), works on mobile devices offline, etc
- dkarras 2y agounless I am very mistaken, that is the default behavior. youtube won't show any ads on the videos you post unless you put them there. so you need to be eligible for monetization (have videos that people watch, proven by some metric), and you need to enable it, and you need to explicitly post ads on your videos to generate revenue for yourself (and youtube)
- 2y ago
- throwaway22032 2y agoYouTube is vertically integrated. They're not paying a margin to advertising companies because they are the advertising company, they're not paying a margin to datacenters because they are the datacenter. The data gleaned from YT views helps them to run search and vice versa.
- DreamFlasher 2y ago"If something is free, you are the product."
- deleted 2y ago[deleted]
- amir734jj 2y agoAs someone who works in a large cloud company, there is a lot going on to create a data center. By data center I mean compute and storage. These large companies have perfected the economics and engineering needed to create a data center. They spend billions on R&D. They basically own everything in their supply chain. Smaller companies can't compete. Additionally, they don't pay the same electricity and water bill that others pay for their data center. They get a discount because they are creating jobs. Getting streaming to be cost effective starts from decades of R&D investment + getting low cost electricity and water + owning supply chain.
- matt-p 2y agoIt's purely a scale problem. On the "Revenue" side you will quite probably need to have enough eyeballs that advertisers come to you directly to display ads and do so in volume. On the "Costs" side you'd want to be big enough that you can just store your content in ~3 of your own datacentres, cache the "hot content" in a site or two per country then give away caches to ISPs (who will gladly host them in their own network for free). Biggest cost will be bandwidth/streaming servers. Encoding/storage is comparatively cheap. If you were small you would likely start to do this from a few 100Gbps dedicated servers per continent. https://www.fdcservers.net/configurator?fixedFilter=15&fixedFilterType=bandwidth_option https://www.fdcservers.net/configurator?fixedFilter=15&fixed... If we set an average of 3-4Mbps per stream you're looking at each server handling 20,000 videos served and the hourly cost of the server would be around say $4/hour so you're looking at around $0.20 per 1000 video hours in theory, in practice it will be higher. Worst case closer to $0.50 per 1000 video hours due to utilisation rates.
- vsuperpower2020 2y agoIt may be different at this scale, but in my experience fast-ish redundant file storage has always been extremely expensive even at lower storage sizes, while getting a 100 Gbps line is relatively cheap.
- matt-p 2y agoit's different at scale, and you mostly don't need SSDs since you have cache boxes, most your storage is videos that are very rarely used. You're looking at probably a rack of SSDs for every 5-10 racks of spinning disks X 3 datacentres. Even that would give you approx 50-90PB of usable storage (replicated so it's in all three sites) for a few tens of thousands a month. Even if you just put it all on S3 infrequent, which would be one of the most expensive ways of doing it, it's still not really expensive compared to serving the content.
- dist1ll 2y agoAren't big players colocating their CDNs at internet exchanges? Bandwidth should be essentially free for content delivery.
- martinald 2y agoVideo streaming is getting cheaper all the time. Bandwidth costs are dropping every year (substantially in most cases) and bitrates aren't keeping up (the few exceptions probably being AppleTV+ and BBC iPlayer which do 30-50mbit/sec 4K HDR streams). You can do this for so much cheaper than AWS etc price for bandwidth. You can get 100gigE transit from he.net for list price $4500/month. Add probably the same again for colo + hardware (don't need much hardware these days to saturate 100gigE) and you can probably stream videos to 20,000 concurrent users at 5mbit/sec for ~$10k/month. Another way would be to use someone like OVH who offers dedicated servers with 10gigE (supposedly 'guaranteed') for about $800/month each list price, without having to bother with colo and ip transit setup. Obviously this is highly simplified as you will require encoding resource and storage, but again with someone like OVH you'd be able to spin up a lot of cheap boxes to do this. How much this will cost will depend on how many videos you get and how many views per video etc. So IMO the actual bandwidth is a bit of a non issue. The far bigger issue is getting users to use your platform (marketing is MUCH more expensive than IP transit) and then having advertisers on your site. This is a much harder problem to solve and where the real barrier to entry is.
- adam_gyroscope 2y agoI worked on YouTube transcoding about 12 years ago. First, the scale is mostly reused - what’s doing transcoding now is doing a different compute job later. Transcoding was also done for most videos only on idle compute. Second, Google had 300k+ caches around the world, in many surprising places (buses, cruise ships) as well as many thousands of other larger but not full data center locations; get the content as close as possible to the user. (I imagine now all transcoding from the mezzanine format is done in real time on an edge GPU for all but the most popular platforms and content). Tl;dr: build out a huge amount of infrastructure to serve ads very quickly and you can piggyback video serving on that at little marginal cost.
- paxys 2y agoIt is expensive, and YouTube also makes a lot of money via ads, subscriptions, partnerships. Whether it is ultimately profitable or not is anyone's guess, since they don't report the numbers publicly.
- tonymet 2y agoFor most players streaming are not profitable. Youtube is likely profitable, but since Google doesn’t report separate income, we don’t know how much. Netflix is. Disney, peacock, Paramount, Max , etc are not profitable with the hope they can capture future monopoly standing. Prime Video is likely also not profitable or break even given their studio investments (e.g. MGM, first party content).
- strunz 2y agoActually Disney Streaming business was profitable for the first time last quarter - https://variety.com/2024/tv/news/disney-q2-2024-earnings-streaming-profit-1235993204/amp/ https://variety.com/2024/tv/news/disney-q2-2024-earnings-str...
- tonymet 2y agoLet’s see how it goes. CFOs can move a lot of spending around to hit a good quarter.
- deleted 2y ago[deleted]
- andsoitis 2y ago> since Google doesn’t report separate income In 2023, YouTube's brought in 10.25% of Google's total ad revenue, totaling $31.5B. That's up from $29.2B in 2022. Alphabet does not, however, report profit of YouTube. https://www.statista.com/statistics/289659/youtube-share-of-google-total-ad-revenues/ https://www.statista.com/statistics/289659/youtube-share-of-... > Disney, peacock, Paramount, Max , etc are not profitable Disney is profitable, you can check out last year's financials: https://thewaltdisneycompany.com/the-walt-disney-company-reports-fourth-quarter-and-full-year-earnings-for-fiscal-2023/ https://thewaltdisneycompany.com/the-walt-disney-company-rep...
- tonymet 2y agoThat’s the revenue
- rc_mob 2y agoFingers crossed you are starting a competitor to youtube.
- fsflover 2y agoThere is PeerTube already.
- stickfigure 2y agoThe economics fundamentally changed a couple of years ago when cloudflare released R2. I don't know if anyone has built a streaming client for it yet, but R2 takes the largest expense (outgoing bandwidth) and zeroes it out. Yor business would be wholly dependent on cloudflare. But if you don't have to pay for bandwidth, the economics aren't that bad. (I ran a large porn site a lifetime ago, long before cdns were ubiquitous. If I was in the business today, I would absolutely put everything on R2 and make it work no matter how much client development it took)
- amir734jj 2y agoYou are missing compute aspect. R2 only solves the egress problem. YouTube accepts many formats and tries to stores them efficiently such that it makes seeking different timestamps in the video possible (and efficient). They perfected the art of encoding. Read about it.
- chrisco255 2y agoDon't they simply use ffmpeg for that?
- stickfigure 2y agoI'm sure that infrastructure is valuable and useful, but might not be necessary. We had a simple encoder farm back in my kink.com days and it was a rounding error in our budget. I can only imagine it's cheaper and easier almost 20 years later.
- teitoklien 2y agoThey improve their stack on multiple fronts 1 - They use their own custom hardware encoders now optimised for their scale (previously they’d use a ton of intel cpu for encoding) This is often not possible for smaller startups to have their own custom hardware, but one could setup their own Xilinx FPGA based hardware accelerated encoding servers, Xillinx Alveo Boards are popular for media acceleration, they support both ffmpeg and gstreamer for acceleration needs. Nvidia Nvenc encoding is decent too but mostly for the most popular encoding types, and honestly an fpga based accelerator is probably better after cpu unless you have gpus lying around. 2 - Much lower bandwith costs, a lot of startups build their streaming applications on top of AWS, but that’s insanely expensive due to the insanely expensive price of AWS itself As a streaming service you could immediately cut down costs by shifting to ovhcloud, hetzner etc, they often have dedicated gameserver like offerings which are beneficial for streaming usecases too. That itself should allow you to bring down costs by 10x or even more (you have to choose the plan correctly on other tho, ovh, hetzner etc say you have unlimited bandwith on some packages but there is always a catch or they throttle you later, need to be careful about the offering you choose but otherwise a lot better) 3 - Having colocation hosts with your own servers setup and each video encoded at different sizes for different media devices also help only sending the near-right amount of content quality based video size based on device screensize and resolution. This gives a lot of additional cost advantage 4 - Running your own CDN relay service, I’ve run my own cdn service before to cut down on costs aws cdn is quite expensive, but even cheaper cdn services like bunnycdn, etc come at a decent markup, cloudflare cdn can be nearly free yes, but they’ll kick you out the moment you start consuming too much bandwith. So I hosted my own anycast network with geodns and controlled multiple servers across the globe acting as cdn with ansible playbooks for maintenance and control, and monitored them with my own monitoring stack to keep the cdn service alive and kicking, it work decently nice honestly, yes it required me to learn additional stuff, but it made me even more happier, price for sufficient level of bandwith it essentially allowed me to get very cheap rates for cdn service, along with additional cost optimisations at the edge by pre-allocating more cdn servers at peak usage to relay the stream once to the edge server and then broadcasting it from there to all local devices snappily and then bringing down the number of servers, once a major stream is over. That takes care of cost reduction in encoding, bandwith and services like cdn. There are a 110 otherways to reduce costs, but those are the primary ones you want to invest in, I excluded storage because you can already get cheap enough storage from a lot of managed providers like wasabi, backblaze, etc moreover streaming typically is less focused on long term storage so short term storage cost optimisation should be last resort, using reliable storage is a better idea. Here’s an additional talk by mike solomon (youtube engineering) on scalability from 12 yrs ago [5] also the written blog version of it is here [6], a lot of it is still relevant, especially for young startups because bigtech youtube scale decisions are often not rational for young startups who have 1-2 years runway and need to make the most out of vc money or heck even bootstrapped haha (I was bootstrapped so price was a big deal for me, hence had to do a lot of stuff custom). While making decisions always make sure to ask yourself at each step, “is this move relevant for my business” at youtube scale where their bandwith costs are in billions, hiring a $30 million hardware acceleration team makes sense to them, it does not to your startup, always take tips and hints from large behemoths like youtube, instagram, etc who’s devs love showing how they do a lot of things in talks available across internet but never forget to ask yourself the critical question of if its relevant to me. A lot of the optimisations i did like custom cdn, managing my own storage, algorithms to allocate edge servers to reduce central load while boosting reliability, low latency and also reducing costs, does require very enthusiastic developers who love to learn things and are decently competent about it too. Each optimisation might give you 5-7% boost, some big ones will give you 200-500% boosts, but even those small changes add up to a big cost reduction overtime, if you get a big bill initially for your streaming service, dont get disheartened, allocate a team that specifically focuses on this and has deep tech knowledge doing 7%-10% optimisation each month across parts of the stack, and compound interest will help you move mountains. Good luck to everyone here who are working on their streaming startups ! [1](https://www.semianalysis.com/p/google-new-custom-silicon-replaces https://www.semianalysis.com/p/google-new-custom-silicon-rep...) [5](https://www.youtube.com/watch?v=G-lGCC4KKok https://www.youtube.com/watch?v=G-lGCC4KKok) [6](https://highscalability.com/7-years-of-youtube-scalability-lessons-in-30-minutes/ https://highscalability.com/7-years-of-youtube-scalability-l...)
- deleted 2y ago[deleted]
- Joel_Mckay 2y agoGoogle has hosts in just about every ISP data center. They sent out their hardware to spam IT departments for decades. Other CDN like akamai are available, but the cloud business has eaten most colo providers lunches (a "gray" fiber network can be expensive to hold). Since Google has other services likely reusing the same internal CDN resources, their stream-traffic routing costs could be an order of magnitude lower than traditional providers. Just a guess, but live feeds tend to be high-latency for a reason... =)
- tracerbulletx 2y agoEconomies of scale. The variable price for a new start up to stream a TB of video is orders of magnitudes higher than for Google at this point and the ad revenue is massive now too. They're 11% of all video watched on a TV, that's ONLY counting TVS, and advertisers know this now and they are treated seriously.
- jhoechtl 2y agoSo bandwidth incurs the high costs. Are we in need of another year 2000 event, where the dot com bubble burst, sending bandwidth costs into he cellar?
- YawHawHawn 2y agoIt's not free. They didn't have a business model for most of their existence. Google, famously shitty at branding (and that's being kind), paid an obscene $1.6B for YouTube because "Google Video" was a monumental failure. Of course it was: Everyone thought it was just a search engine for video, not something that you would contribute to... any more than an individual "contributed" to Google's search results. So they rewarded an enterprise that had no business plan.
- DeathArrow 2y agoCan't someone use CDNs to deliver the bulk of the video files?
- bhouston 2y agoI know a popular website rolled out their own nginx proxy servers to various low cost providers so that they could run their own cdn. It saved them tons of money.
- xspiral 2y agoGreat question! YouTube's scale definitely plays a big role. With the massive user base, ad revenue can cover the costs. Plus, Google’s infrastructure helps reduce expenses. For a new platform, the economies of scale and established ad networks make a huge difference.
- lossolo 2y agoThey have what's called Google cache in every country. In some of these countries, and in many places, ISPs are allowed to connect to the cache for free, including at IXs, which are basically internet exchange hubs around the world. Google has its own fiber, so they do not pay anyone for transit in many places. Additionally, because so many people watch YouTube, ISPs are motivated to connect or peer with Google's caches on their own. This arrangement means they also don't need to pay for traffic. So streaming is extremely cost-effective for YouTube, making it hard for others to compete with them on streaming costs.
- datahack 2y agoGoogle has huge interconnect and exchange deals and dark fiber all over the place. It’s hard to explain just how much free transit and connect Google has to ISPs, and how preferable their deals are for delivery. They are a MASSIVE pipe of extremely low cost Internet. Since the main cost of video is streaming and the pipe required to deliver that streaming, they have an insane moat built because of it. That is why. There are a lot of other explanations, but that is really why.
- dumpHero2 2y agoWhat’s dark fiber?
- wolfwyrd 2y agoIt's fiber interconnect between sites that is not actively visible to other people who are routing data around the world. Think of it as being pre-layed but not yet turned on/made available. See: https://en.wikipedia.org/wiki/Dark_fibre https://en.wikipedia.org/wiki/Dark_fibre
- datahack 2y agoThank you! I missed the question and appreciate you providing the info.
- BiteCode_dev 2y agoStreaming is expensive, but less than you think. If you run your own servers and don't use the cloud, you can serve a million user a month for a few thousand dollars.
- deadbabe 2y agoAnd if you use the cloud?
- epolanski 2y agoYoutube makes more than $ 30B in advertising alone, and that ignores Youtube premium and on-demand content. Quite sure they are making lots of money.
- Clubber 2y ago>I know advertisements are a thing for YT, but is it enough? Google uses search revenues to subsidize the cost of YT. It's anti-trust, but the government hasn't had the will to prosecute as of yet. I think YT is finally self sufficient, but probably still relies on google's existing infrastructure to a large degree to keep costs down.
- richardw 2y agoI remember a lot of chatter around Google buying up fiber after many companies had aggressively built out networks in the "broadband" scramble, which then lay unused. So-called "dark fiber". 2005 article: https://www.cnet.com/tech/tech-industry/google-wants-dark-fiber/ https://www.cnet.com/tech/tech-industry/google-wants-dark-fi... Google bought Youtube the next year, 2006. This must have been massively useful for moving video around at lower cost rather than the public networks, which were probably built more for normal web traffic. Then peer with local companies who have the clients that are watching videos.
- throwaway211 2y agoMullvad give you practically unlimited bandwidth around the world for €5/month. And Hetzner will sell you 1TB of hot storage on a 1Gbps connection for €3.49/month. Taking these consumer level price points, you just need to make more than €4/user month to cover your marginal costs. Quite a demanding, intensive user too.
- nojvek 2y agoYouTube made $30B in revenue last year. 10% of Alphabet’s revenue. Google services margin is around 30%. Even if YT is burning money they are likely making $5B in profit. They don’t report profit by income streams. Google was one of the first internet scale companies with likely 10s of millions of servers and fiber that they own around the world. They are also doing quite well in Cloud. Not as well as Azure and AWS but that division is growing. At this point, something like Tiktok with a better sticky algorithm is the way to beat Google. One of my mistakes was thinking Facebook will be crushed by Google. Plenty of blind spots when you’re a big ship like Google.
- janandonly 2y agoYou can make an MVP: It doesn't support up or down scaling or recoding. Force the user to only upload supported file formats and codex. Minimal hosting by forcing viewers to also upload: the WebTorrent protocol is ideal for this. Why ads at all? Those already exist. It's an ideal now platform to try out micropayments. Look at http://value4value.io http://value4value.io for example. If this starts to roll, only then you scale.
- mykowebhn 2y agoThis seems like a valid and legitimate question, but I can't help but think that this question was posted, in a veiled manner, by Google/Youtube/Alphabet as propaganda.
- x13 2y agohttps://peering.google.com/ https://peering.google.com/
- andrewla 2y agoIt's fairly straightforward -- use your fountain of money from search ads plus a huge infrastructure to support it to pay the costs rather than pass them on to users. Operate at a loss to drive out all competition and prevent new competition from arising. Increase ad obtrusiveness to drive up revenue, and every once in a while increase creator payouts to keep creators on your platform, until hopefully the lines cross and you start to make money. Maybe. Every once in a while a competitor might make a go for it, and you'll have to reduce ads or offer more incentives to creators to drive them out. Sometimes you may have to lobby the government to help you out on this. One bonus is you can use the goodwill from your video site to drive traffic to your search engine. If you don't have a fountain of infinite money from your search engine (or if you don't currently operate a gigantic search engine), then you might not be able to pull this off.
- emodendroket 2y agoOK but let's not forget that YouTube was originally an independent offering and Google's own competitor never got off the ground, leading to them just acquiring it.
- andrewla 2y agoThat's true and easy to forget -- at the time, YouTube offered far and above the best experience for content creators and uploaders. And their end-user experience (the flash-based player) was miles ahead of the competition.
- DonnyV 2y agoYes, but they were never profitable and if Google didn't buy them. They probably would of eventually failed or completely change their model to survive. What the original YouTube team did was was create a great brand and experience. Thats why Google's version never took off.
- emodendroket 2y agoThey probably didn't intend to be profitable because their goal was user acquisition at the time. Intending to be profitable from the start would have implied a totally different approach and priorities.
- udkl 2y agoI'm actually always amazed by the scale of YouTube and how performant the entire site seems. Even unpopular videos as old as 10 years ago load in an instant - and I imagine this is across all petabytes of videos.
- iamzycon 2y agoHave you ever playing a video that seems totally unrelated to where you're from or your interests, and it has fewer than 1k views? I bet it might not load right away.
- pixodaros 2y agoIn December 2017, competing video sharing site Vidme was convinced that YouTube was generously subsidized by the rest of Google https://medium.com/vidme/goodbye-for-now-120b40becafa https://medium.com/vidme/goodbye-for-now-120b40becafa Google certainly errs on the side of not passing along ad revenues to creators, which could be for brand protection, or could be because YouTube (like most streaming TV) is losing money. They tried to fight YT adblockers and that is also consistent with YT being money-losing or barely profitable.
- RecycledEle 2y agoPower is more important than money to their financial backers. So they are willing to lose money to be the premiere online video site, which gives them tremendous power over what is censored and what is recommended.
- taf2 2y agoI heard a big reason Google invested so much into chrome was to reduce streaming costs. VP8 I heard saved billions in bandwidth costs…