News for hackers. Stuff that matters.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by kmeisthax on Sunday May 19, 2024 @03:39PM (#40409260)
For 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.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vundercind on Sunday May 19, 2024 @04:07PM (#40409418)
The bandwidth costs are the key. Good luck getting rates anywhere near what Google’s effectively are. Spoiler: you can’t. You probably can’t realistically get to 5x their costs, byte-for-byte.

Which makes competing with them effectively impossible except for a very-few other megacorps.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by oceanplexian on Sunday May 19, 2024 @04:26PM (#40409516)
Bandwidth costs are actually free, so this isn't exactly accurate.

Most bandwidth is via settlement-free peering with thousands of ISPs around the world. At least that's how we did it at Twitch, and how we did it when I worked at a large CDN before that. There are still costs for backhaul, interconnect, colocation space, dark fiber, network hardware, and transit to fill the gaps. But this talk about how "Google can magically do it 5x cheaper" is nonsense.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by mbesto on Sunday May 19, 2024 @07:55PM (#40410663)
> There are still costs for backhaul, interconnect, colocation space, dark fiber, network hardware, and transit to fill the gaps.

Genuine question - aren't those gaps essentially what make a video streaming service operate at scale though? It'd be like saying "ya this bus can get everyone from NYC to Philly at $10 but doesn't stop anywhere in between", or am I missing something about all of those gap filling components?

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by YawHawHawn on Monday May 20, 2024 @02:57AM (#40413010)
To be fair, if they said "ya" they're probably in Scandanavia...
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by nso on Monday May 20, 2024 @05:15AM (#40413655)
i
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by michaelt on Sunday May 19, 2024 @04:48PM (#40409640)
Don't Comcast and friends throttle any peering points you use, until you hand over $x per subscriber per month for them to stop doing so?
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by jrockway on Monday May 20, 2024 @09:49AM (#40415458)
Typically the problem is that Comcast won't peer with you. They always use the excuse that they only peer with equals, and since they aren't sending you as much traffic as you're sending them, it's not in line with their peering policy. This, of course, is a problem of their own creation; they're cable so customers all have a tiny amount of upload bandwidth and a large amount of download bandwidth. It is unlikely their policy permits peering with anyone. The ultimate effect is that you have to buy transit from a Tier 1 ISP instead of with the consumer ISP directly, costing you money. There are, of course, backroom deals where they sell a subscription tier that doesn't include video and then they throttle all the video. That's different than the peering issues; there is enough capacity to send all of your packets to them, they just throttle them on their end to squeeze money out of their customers.

I've worked at 2 ISPs and we obviously didn't have this peering policy, because it's dumb and it breaks the Internet. We also didn't throttle video, because it's dumb and breaks the Internet.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by immibis on Sunday May 19, 2024 @08:24PM (#40410835)
That isn't free. For every terabit of bandwidth, you have to physically build out a terabit of network. Not even remotely free. Having already built the network, and being already paying to run it, you can then use it for free, yes.

This is the model for all networks, indeed, most businesses - they pay a big upfront and moderate recurring cost to make a fast network (or restaurant or widget factory) and then sell it in slices with a large freedom to choose a pricing model. Pay per terabyte is a pretty reasonable way to pass on the network's fixed cost to consumers, just like part of the cost of the restaurant meal covers the interior decorations, even though the decorations don't actually cost more the more people eat, until the restaurant gets so busy it needs to expand.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by rahimnathwani on Sunday May 19, 2024 @08:59PM (#40411045)

  > For every terabit of bandwidth, you have to physically build out a terabit of network.
A lot of the content will be cached at/near the edge. I imagine a lot of time is spent watching popular videos.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vel0city on Sunday May 19, 2024 @10:39PM (#40411629)
Cached with what? The $0 cost hardware you gave to the ISP for free? You expect every ISP is just going to give you free CDN services?
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by rahimnathwani on Sunday May 19, 2024 @11:14PM (#40411877)
I didn't say it's free of cost. My point is that a terabit of bandwidth delivered to consumers in a particular geographical area doesn't require a terabit of bandwidth from the center to that area, because much of the content can be cached.

So the 'terabit of network' the content provider needs to build need only span a few hundred feet within a single building.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by immibis on Sunday May 19, 2024 @11:50PM (#40412096)
I never said it did. You still have to build whatever you want. A terabit of edge network is a terabit of edge network that has to be physically built.

Not all networks are the same. Some have terabit backbones and gigabit edges, some have the reverse. We'd still call both of them, roughly, terabits of network, and you still have to build them. The one with the terabit core might actually be easier because you have less of the expensive really fast equipment.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by rahimnathwani on Sunday May 19, 2024 @11:57PM (#40412140)
OK I don't think we're disagreeing on any factual point.

The only point I wanted to make is that the 'terabit of network' doesn't have to be end to end, so it's not as scary as it may sound.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by immibis on Monday May 20, 2024 @11:55PM (#40423938)
In some ways it's less scary: no long inter-site fiber runs that I assume are an absolute nightmare, and no renting those same runs at exorbitant rates. All your hands-on work remains in the datacenter, which is set up to make it a breeze. In other ways it's more scary: you have to negotiate with a lot more counterparties and visit a lot more datacenters.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by kmeisthax on Sunday May 19, 2024 @10:54PM (#40411737)
I think vundercind was implicitly including Twitch in the phrase "except for a very-few other megacorps".

If you're wondering, if you can't get peering, you wind up like Twitch. In South Korea. South Korean telecom law explicitly shifts the capital expenditure costs of ISPs over to other online services, which is sort of like the fucked-up opposite of Net Neutrality regulation. So Twitch was being bled dry to pay for the chaebols' network expansion. Hell, even after Twitch left, South Korea fined them for leaving!

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by thaumasiotes on Monday May 20, 2024 @05:19AM (#40413674)
> Hell, even after Twitch left, South Korea fined them for leaving!

...is there some reason for Twitch to pay such a fine? Were any grounds stated for it?

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by chimeracoder on Monday May 20, 2024 @09:52AM (#40415487)
> In the wake of them ceasing service, Twitch has been fined for 435 million Korean won – but not for the entire service being terminated. This is related only to them making it so users in South Korea can’t access VODs on the platform, something seen as a direct violation of South Korea’s telecom laws by Korea’s Telecommunications Commission (KCC).

> According to Yonhap, the KCC made the decision that Twitch terminating the ability for users in South Korea to access VODs wasn’t necessary to keep the service alive. When asked to justify their claims, Twitch declined due to contractual obligations related to keeping user and site data private.

> Additionally, Twitch would have to present evidence that their decision to gradually take features away from South Korean users & leave the country was necessary. This means that Twitch isn’t likely to return service to South Korea any time soon.

> There’s also a good chance Twitch will be forced to provide refunds for those who have been affected by the service being discontinued, with the KCC warning Twitch that they need to prepare “user protection measures” as they cease service in the country.

https://www.dexerto.com/twitch/south-korea-fines-twitch-over...

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by dehrmann on Monday May 20, 2024 @12:27PM (#40417186)
Is there even an enforcement mechanism other than arresting executives who go to South Korea or seizing assets that are there?
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by ParadisoShlee on Monday May 20, 2024 @09:19AM (#40415144)
laughs in Australian My local DC charges $333 for 10TB (upload/download inclusive).
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by ckdarby on Sunday May 19, 2024 @04:28PM (#40409525)
Bandwidth costs are really not that bad.

95th billing, adaptive, progressive playing and just cap buffer to the minimum to keep playing. Equals ~$1M/month for +10 tbit/s egress.

Source: Worked at one of the largest bandwidth consumers in the world.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vundercind on Sunday May 19, 2024 @06:01PM (#40410080)
> Source: Worked at one of the largest bandwidth consumers in the world.

Mindgeek? :-)

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Egrodo on Sunday May 19, 2024 @08:54PM (#40411014)
Just checked his LinkedIn and yes, literally lol
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Egrodo on Sunday May 19, 2024 @08:54PM (#40411015)
Just checked his LinkedIn and yes, literally lol
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vundercind on Sunday May 19, 2024 @09:07PM (#40411083)
Oh wow, I didn’t even snoop, just a guess.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by E39M5S62 on Sunday May 19, 2024 @10:50PM (#40411700)
They're no longer Mindgeek - they go by Aylo now. I worked for the company that hosted PornHub.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Jyaif on Sunday May 19, 2024 @04:43PM (#40409610)
My home connection uploads at 681mbit/s (just did the test over wifi) for 40 euros/months. At that price, I'd get 13tbit/s for 800k euros.

It's a bit surprising that you were not getting significantly better prices than individuals.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vundercind on Sunday May 19, 2024 @05:57PM (#40410056)
Price business pipes where they won’t cut you off for saturating that 24/7.

[edit] and that have good deliverability worldwide, no weird paths to other consumer IPs that intermittently fail to route or inexplicably have dial-up transfer speeds. And have anything like a real SLA.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by swiftcoder on Monday May 20, 2024 @10:13AM (#40415673)
I don't think they legally can in number of European jurisdictions. This isn't like Comcast overselling their copper cables - brand new fiber paid for by the EU comes with certain obligations.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vel0city on Sunday May 19, 2024 @10:42PM (#40411649)
Try uploading at that rate for a few months non-stop and see how long your residential ISP will continue doing business with you.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by callalex on Monday May 20, 2024 @03:35AM (#40413187)
That can be taken out by a particularly unfortunate shovel or truck though, and isn’t sufficient to run a business on.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Jyaif on Monday May 20, 2024 @10:16AM (#40415706)
For 800k I would have 20000 different connections. This would allow me to survive many unfortunate shovels per month.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by mattmaroon on Sunday May 19, 2024 @04:36PM (#40409568)
If bandwidth costs were very high a whole lot of the services we love would cost more or not exist.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vundercind on Sunday May 19, 2024 @05:59PM (#40410065)
I am so confused here. Either I’ve been doing high-bandwidth bit slinging extremely wrong for quite a while or a lot of HN has never done it at all and is opining on it anyway. It’s real money, IME.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by lopkeny12ko on Sunday May 19, 2024 @04:41PM (#40409600)
Anyone who says "bandwidth costs are not really that bad" should spend 2 minutes playing with the AWS cost calculator.

You would think the VMs are the expensive part, but no, egress is easily multiple times the cost of the compute.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by manquer on Sunday May 19, 2024 @06:40PM (#40410286)
Cloud bandwidth pricing has nothing with do with costs and everything to do with lock in .

You can get 100x cheaper and unmetered at a low cost provider like OVH or hetzner or similar bare metal data centers .

It doesn’t even need significant monthly commits to get that pricing if you are running video streaming at scale you are not running on AWS or even tier 2 like OVH for sure

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Aerroon on Sunday May 19, 2024 @08:04PM (#40410717)
Are they actually unmetered or are they unmetered*?

* up to 2TB per month

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by immibis on Sunday May 19, 2024 @08:34PM (#40410894)
It's unmetered*

* if our upstream is saturated we're going to look at our biggest users and if the number is really big we'll send them a polite email to please reduce it or pay more.

There are reports of people getting emails from Hetzner after sending multiple Gbps continuously for several months. That's the level you have to reach before the * kicks in. Only 1Gbps servers are unmetered, so you'd have to have several.

If you want to know a better approximation of their true cost just look at their non-unlimited plans: 20TB/month included for free; 1€/TB (excl VAT) after that.

I have one more interesting data point to add: I was quoted 950€/month for a dedicated 10Gbps between Berlin and Amsterdam (about 600km) plus peering at AMS-IX, or 300€ for 1Gbps. (They're not secretive and you can just ask for a quote using their sales contact form). Extrapolating, it seems that 1€ is worth about 2.5 petabyte-kilometers, at least within the dense interconnections of continental Europe. About twice the price of shipping a petabyte of hard drives the same distance.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Dylan16807 on Sunday May 19, 2024 @10:36PM (#40411612)
> If you want to know a better approximation of their true cost just look at their non-unlimited plans: 20TB/month included for free; 1€/TB (excl VAT) after that.

I will point out that this is still about 50x-80x cheaper than Amazon. Not far off the claim of 100x.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by ec109685 on Monday May 20, 2024 @12:23AM (#40412247)
There are enterprise plans that offer significant savings if your scale is high enough.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by immibis on Sunday May 19, 2024 @11:54PM (#40412121)
Mhm. Save literally 98% of your egress bill by avoiding AWS, GCP and Azure.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by manquer on Monday May 20, 2024 @02:01AM (#40412707)
AWS is particularly bad at this for S3.

Cloudflare and most other Object Storage Providers either fully free egress for all users or at-least for inter-cloud transit so you can then put a free/cheap CDN like Cloudflare in front and not pay all that much for b/w.

AWS refuses to participate. Costs of retrieval of all data plus associated bandwidth is a so high for many people that they stick to S3 including me.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by keepamovin on Monday May 20, 2024 @05:58AM (#40413868)
Yes, it’s unmetered. Just colocation. You pay for the maximum rate basically not the amount sent, if that.

The cloud bandwidth you get on your VPS has nothing to do with costs at the scale where you’ve racks in data centers.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by mtnGoat on Sunday May 19, 2024 @08:29PM (#40410865)
But anyone doing things at great scale, isn’t going with OVH. You could use it as an origin I goes but you’d still need CDN for decent content delivery.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Dylan16807 on Sunday May 19, 2024 @10:32PM (#40411584)
Anyone doing things at great scale is buying many-gigabit connections directly. Which is also 100x cheaper than AWS.

The number above was a thousand dollars per month per 10gbps, and AWS would charge more than a hundred thousand dollars at the listed $0.05/GB price.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by immibis on Sunday May 19, 2024 @11:56PM (#40412132)
Note: that was for a dedicated 10-gigabit link from specific location A to specific location B, plus a peering at one large IX, without any access to the rest of the internet.

Nonetheless it does give a ballpark for the cost of bandwidth being a lot lower than people think. A 10G internet connection would be cheaper to provide in some parts of that equation and more expensive in others - should end up in the same ballpark.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Dylan16807 on Monday May 20, 2024 @12:48AM (#40412342)
By "above" I meant ckdarby's number.

And honestly 10 cents per Mbps sounds kind of high for raw transit, I interpreted it as a price for actual utilization.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by ckdarby on Monday May 20, 2024 @01:47PM (#40418048)
It was more than 5 years ago and was not a direct commitment. Another company was being used for their data centers, and this was a lease/rental agreement of equipment; Think colocation model, but where you're like 50-80% of being the main client of the data centers.

Add 10-25% profit for that company to get closer to true "raw transit" pricing from the carriers directly.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by mtnGoat on Monday May 20, 2024 @11:47PM (#40423886)
Also, can you show me any public pricing that is 100x cheaper than AWS? With same QOS! Or are you just throwing numbers around?
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Dylan16807 on Tuesday May 21, 2024 @02:44AM (#40424929)
What specifically is the QOS for AWS?

But sure, if you want citations for $0.10 per Mbps in bulk for transit, that's easy to find/beat.

https://he.net/ "Get BGP+IPv6+IPv4 for $0.06/Mbps!"

https://www.fdcservers.net/ip-transit Europe, North America: 10Gbps $499/month

And telegeography just sells information, but they had a blog post that's now three years out of date reporting that "In Q2 2021, the lowest 10 GigE prices on offer were at the brink of $0.09 per Mbps per month. The lowest for 100 GigE were $0.06 per Mbps per month."

You need to factor in that your utilization won't be 100%, but if you're comparing 6 cents for a Mbps and and 5 cents for a gigabyte, then the exact point where AWS is 100x more expensive is when your line is 36% utilized.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by manquer on Sunday May 19, 2024 @09:32PM (#40411200)
Yes, at certain scale you likely have deals with many CDNs.

At even higher scale (YouTube, Facebook or even Netflix ) you are going to be putting content caching servers at the local ISP PoPs : it is mutually beneficial to do so .

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by mtnGoat on Monday May 20, 2024 @01:02AM (#40412412)
So you can piggy back on the CDNs that do the same until you can afford to do so, with the same performance. This isn’t a privilege only given to those cloud providers, anyone with a checkbook and a pulse can do it.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by manquer on Monday May 20, 2024 @01:57AM (#40412691)
The key point is video streaming products are not impaired because of high cost of bandwidth, that only YouTube can only afford because Google subsidizes it from other revenue. YouTube is profitable by itself, the combination of premium and ads is more than enough to pay for it.

It is hard to directly compete on long-form video because of audience and content depth advantage Google has with YouTube.

There are successful niche players who are fairly large (like Vimeo or Twitch or even OnlyFans) who focus on specific markets that don't require social network advantage like corporate or smaller segments etc.

For general purpose media, creators are going to focus on the platform with most audience and vice-versa, very hard to break that.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by mtnGoat on Monday May 20, 2024 @11:46PM (#40423869)
Agreed, I guess my point in my original comment is; yes, bandwidth is cheap but you aren’t going to compete at any scale hosting at OVH as was proposed. And you’ll need a lot more than cheap VMs too.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by manquer on Tuesday May 21, 2024 @08:59PM (#40436202)
It was not that OVH is competitive for streaming , it is that even likes of OVH is orders of magnitude cheaper than cloud, let alone actual setups for streaming companies whose cost data no one in this thread has access to.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by NBJack on Sunday May 19, 2024 @05:11PM (#40409778)
To be fair, that is the penalty of being in a shared cloud. They are incetivized to keep their customers from using everything, everywhere, all at once.

Jump into a 'bare metal' datacenter and things can get much different.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by vundercind on Sunday May 19, 2024 @05:56PM (#40410049)
Not even AWS. Any CDN. It won’t be AWS-bad (way, way, way under) but it ain’t good.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by wolfendin on Sunday May 19, 2024 @10:55PM (#40411741)
You’re getting scammed with the AWS cost calculator or anything more than $20/mbps
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by jononor on Sunday May 19, 2024 @04:47PM (#40409634)
Assuming 10 Mbit/s per stream that would serve 1 million concurrent streams 24/7. If we assume people watch 2.4 hours per day on average, it could support 10 million active users. Or a cost to serve for bandwidth alone of 1 USD/user per year.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by 55555 on Monday May 20, 2024 @05:06AM (#40413613)
Yeah I'm coming to similar numbers. I guess this is why the Cloudflare CTO has said several times on hackernews that at scale bandwidth is free.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by jgrahamc on Monday May 20, 2024 @05:15AM (#40413659)
Pretty sure I didn't say that, but I know who did: Cloudflare's CEO (eastdakota). https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by 55555 on Monday May 20, 2024 @05:04AM (#40413611)
Could anyone help me understand what this means in practice, at scale? I keep doing the math and getting numbers either way to small or way too big. If each users streams 200MB over a 10 minute session, and they arrive on the site uniformly distributed over time (false premises, I know), how much would 1,000,000 sessions a month cost? I get confused by terabits and terabytes and how "per second" bandwidth metering actually works. I keep getting to the conclusion that for $1,000,000 you could handle 16,200,000,000 sessions per month, which is more traffic than phub gets and less money than I assume they spend.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by echelon on Sunday May 19, 2024 @03:49PM (#40409310)
When does YouTube start deleting content?

They'll have to do that eventually, right?

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by sebzim4500 on Sunday May 19, 2024 @03:53PM (#40409338)
So 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.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by throwanem on Sunday May 19, 2024 @03:59PM (#40409368)
> So long as storage costs decrease exponentially I think they'll keep everything.

I agree. That's why I've recently made a practice of backing up things to which I'd regret permanently losing access.

https://ourworldindata.org/grapher/historical-cost-of-comput...

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by noAnswer on Monday May 20, 2024 @12:05AM (#40412171)
Relatively recently they updated their policy. If you don't login to your account for two years they will delete everything. Source: https://support.google.com/accounts/answer/12418290?hl=en

I have two accounts from my youth with mostly fansubs and "funny" vids. (A "Everybody Draw Mohammed Day"-Video that, 11 years after its upload, got band in Pakistan.) It includes two very successful (over 1M views combined) uploads of political TV shows. I will not log in to this this accounts. So this stuff will get deleted. So in the long run, stuff will disappear from YT.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Alphaeus on Monday May 20, 2024 @02:05AM (#40412733)
I believe YouTube content was explicitly exempted from that deletion.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by noAnswer on Monday May 20, 2024 @07:26AM (#40414326)
You seem to be right. This Google Blog post[1] says "we do not have plans to delete accounts with YouTube videos at this time."

[1] https://blog.google/technology/safety-security/updating-our-...

Would be nice if they would write that into the actual policy and don't just add a random sentence to a blog post.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by kipchak on Monday May 20, 2024 @10:06AM (#40415609)
If I remember right the original policy was to delete the YouTube videos and after pushback the YouTube exception was added.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by k8sToGo on Sunday May 19, 2024 @04:31PM (#40409535)
You don’t need to keep everything “hot” all the time. Storage tiers exist for a reason.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by pinakinathc on Sunday May 19, 2024 @04:59PM (#40409704)
Exactly! This was my go-to approach for reducing storage costs. Customers don't get spooked when they get an extra 1s delay for something they search once in a month. However, an extra 30ms delay in "everyday content" is a sure way to loose your users.

However, implementing this in practice is non-trivial. Knowing what is "everyday content" versus what is "once a month content".

To add more complexity -- you have these semi-predictable hype-waves especially two peaks in case of most YT videos where a "once-a-month" content becomes an "everyday" content before again becoming a "once-a-month" content. It feels you could specifically optimise for this -- reduce storage costs without sacrificing UX.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by c0balt on Sunday May 19, 2024 @09:12PM (#40411106)
> To add more complexity -- you have these semi-predictable hype-waves especially two peaks in case of most YT videos where a "once-a-month" content becomes an "everyday" content before again becoming a "once-a-month" content.

Caching is hard but this sounds like an ARC would likely catch this, if it occurs on a small number of videos concurrently.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by grepfru_it on Sunday May 19, 2024 @04:38PM (#40409583)
My 15 year old videos with 30 views still load nearly instantly. It’s as close to hot as hot is
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by NBJack on Sunday May 19, 2024 @05:03PM (#40409721)
Think about what you actually need to start a video. Maybe a dozen MB?

After that, you can plunge into colder storages and warm things up as you stream. Additionally, if you need longer to 'defrost' things, just cache a few more MB at the front. Cheat a bit by assuming 480p to start with if you need to; even less to store.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by londons_explore on Sunday May 19, 2024 @06:33PM (#40410249)
There is also location location location.

Maybe Google holds your content in 7 data centers round the world (~1 per continent for planned maintenance + latency + reduced oceanic fiber usage).

But with old rarely streamed content they might cut that down to just 3.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by crazygringo on Sunday May 19, 2024 @04:50PM (#40409648)
Speed/latency doesn't tell you much, because it's all on a hard drive somewhere.

The question is whether YT is serving up the one (redundantly-backed storage) copy they have of your almost-never-watched video, or whether it's serving it up from one of 1,000+ copies it's made across the globe for currently popular videos.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by SirMaster on Sunday May 19, 2024 @04:43PM (#40409608)
But they are tiny 480p files yeah?
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by spatulon on Monday May 20, 2024 @12:17PM (#40417070)
That doesn't match my experience. I have some unlisted videos that I or a small handful of friends might go back and watch once a year, and it takes several seconds of loading before they start playing. It's very noticeably different from the near-instant loading of most videos I watch.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by nradov on Sunday May 19, 2024 @04:31PM (#40409539)
Old content has value for training AI models even if there are no human viewers anymore.
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Jyaif on Sunday May 19, 2024 @04:48PM (#40409639)
Yes, it's inevitable.

My guess is that the first step will be to re-encode all the non-popular videos with severe lossy compression.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by londons_explore on Sunday May 19, 2024 @06:36PM (#40410266)
They still keep the original uploaded files.

You know that because when they release a new format (eg. HDR or a different resolution), they re-encode from the original. Various people have tested that with moire patterns and various other ways to demonstrate if something was encoded more than once.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by oefrha on Monday May 20, 2024 @05:43AM (#40413785)
I had an entirely private channel with a couple hundred 1-3 hour long HD recordings of video conferences / screen shares. Entirely private as in every video was private, no one but me ever had access to them. Last year the channel was nuked and the account banned because I apparently broke their rule on “impersonation”. Seriously. I could file a dispute, but in typical Google fashion that dispute disappeared into the void. Thankfully the YouTube ban didn’t affect other aspects of that Google account, and didn’t spread to my other Google accounts. I was worried for a minute since I have another account with >10k subscribers, and while I don’t do monetization, it would suck to have that nuked as well.

I suspect that’s Google beginning to trim unprofitable channels using a lot of storage: delete them for bullshit reasons.

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by taberiand on Monday May 20, 2024 @03:16AM (#40413102)
Once AI generated video gets particularly good, they could probably save a lot of storage by 'compressing' videos into textual descriptions and a few key screenshots that are reimagined on demand by the AI
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by Nurbek-F on Monday May 20, 2024 @04:15AM (#40413394)
What you are describing reminds me of Nvidia DLSS3 AI frame generation. Isn't the storage cheaper than compute, especially graphics?
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by sambazi on Monday May 20, 2024 @04:04AM (#40413340)
getting closer to mythical storytelling of old every day
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by splatzone on Monday May 20, 2024 @05:01AM (#40413598)
Is there a way to run these things deterministically with a seed? Totally AI-generated videos could just be compressed to text without any reference screenshots
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by ddalex on Wednesday May 22, 2024 @08:00AM (#40439911)
isn't 90% of the videos compress-able to "cute kitty playing with something in a funny way"
Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by mike_hearn on Monday May 20, 2024 @06:54AM (#40414154)
> There isn't really some secret special sauce you can buy or make for storage.

Well, there's this:

https://www.microsoft.com/en-us/research/project/project-sil...

Re:Ask HN: Video streaming is expensive yet YouTube "seems" ... by averageRoyalty on Wednesday May 22, 2024 @05:40PM (#40446962)
> 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.