alt.hn

5/21/2026 at 6:29:35 PM

Serving Netflix Video Traffic at 400Gb/S and Beyond (2022) [pdf]

https://nabstreamingsummit.com/wp-content/uploads/2022/05/2022-Streaming-Summit-Netflix.pdf

by tosh

5/21/2026 at 7:49:53 PM

This probably has a very simple answer, but I always wonder how the provide load on these sorts of tests. Can you get by with 2-4 other servers with 400Gb/s links and just tons and tons of simulated IPs/ports to activate LACP balancing? Because you probably want to simulate simultaneous clients that stream at varying rates, probably in the range of 0.3 - 10 Mbps, which means hundreds of thousands of clients to saturate at 800 Gbps, right?

by epistasis

5/21/2026 at 8:07:59 PM

The author's answer as of 2021: https://news.ycombinator.com/item?id=28586767

EDIT: I recall reading that the Netflix client can continuously select between multiple content caches. I'm guessing they do this because it's a quality-of-service and capacity win over making a "best guess" at the start of a session, and sticking with it. It should also enable transparent recovery from a broken or slow cache node. If you test in a busy place with multiple caches, the loss of one needn't be a big deal.

by andrewf

5/21/2026 at 8:43:16 PM

Oh wow, production data, that seems risky, but if it works without too much disruption...

by epistasis

5/21/2026 at 8:06:50 PM

[dead]

by Imustaskforhelp

5/21/2026 at 7:39:06 PM

Just an interesting observation I had about this once when I noticed that kernel quic implementations weren't very fast.

KTLS is mostly useful if paired with sendfile (I'm ignoring io_uring because I'm not as up to date on that). Otherwise you have to context switch back to userspace constantly.

by shanemhansen

5/21/2026 at 6:57:44 PM

Assuming the files are encrypted anyway for DRM reasons: why should static content like movies be TLSed? I know I know, "TLS all the things", but it sounds like a high cost at Netflix scale.

by comment0r

5/21/2026 at 7:35:58 PM

I would have thought this would have originally been driven by wanting to prevent a browser mixed content warning given that something like 15% of Netflix viewing happens in browsers (and the browser warnings switched to blocking in 2020 [Chromium] and 2024 [WebKit/Gecko]).

@drewg123 starts discussing this section at 4:21 in the presentation: https://www.youtube.com/watch?v=WzfADu1qyAM&t=261 ("we had this mandate that we had to start encrypting communications between our servers and our clients")

Netflix announced the change in 2016, citing viewer privacy from eavesdropping: https://netflixtechblog.com/protecting-netflix-viewing-priva...

However, I wonder if the mandate was led by Apple. It looks like it was 2015 (at iOS 9.0 / macOS 10.11) that Apple began requiring that network connections made by apps use TLS. While exceptions are allowed, they are discouraged and require a justification for App Store review: https://developer.apple.com/documentation/security/preventin...

by keane

5/21/2026 at 8:17:26 PM

Browser behavior like mixed content warnings (and a clear slide towards discouraging all non-HTTPS traffic) was the impetus for us at Twitch to TLS all our video in the mid-2010s. Mixed content delivery on a website would, I think, also fall below the bar for doing certain kinds of commerce, and ejecting people from your webapp to a separate payment flow discourages spending.

by andrewf

5/21/2026 at 7:23:26 PM

Stops Comcast from seeing the metadata and knowing exactly what their mutual customers are streaming.

by xxpor

5/21/2026 at 7:33:54 PM

wait till you hear about what smart tvs do..

by booi

5/21/2026 at 7:37:53 PM

I refused to connect my TV to the internet and use a Vero V for all of my watching needs. The Vero V is absolutely worse than most other experiences, but I'm happy.

by the-smug-one

5/21/2026 at 7:11:24 PM

It seems like it took engineering work, but TLS isn't their bottleneck when the data flow is structured correctly for the hardware (which is kind of the thesis of a lot of the Netflix CDN node optimization stuff).

by monocasa

5/21/2026 at 7:25:01 PM

Nice seeing BSD s getting some use.

by DeathArrow

5/21/2026 at 8:03:57 PM

I have a few questions, a lot of things went above my head in this of course but here are my questions.

1. When Netflix is using these specialized NICs, doesn't Netflix use AWS, so would that mean that they can add their own specialized hardware in AWS DC's (so is it co-location?) or does AWS natively support these NIC's

2. Considering this is Netflix whose whole architecture is to optimize for Videos, is this the correct architecture stack for video CDN's, if so, then does Youtube or cloudflare or any platform which also has video CDN at scale also do something similar to what Netflix is doing?

3. Seeing the amount of architectural optimizations, why doesn't netflix have their own DC's instead of Amazon, saturating a 400 Gb/s would lead to some massive bills (I have heard that Amazon makes more from Netflix than their own video service), now I understand that there are lock-ins in using AWS and AWS offered scaling that Netflix needed back then and its a more symbiotic relationship where both parties benefit from one other but seeing this level of optimization problems, I feel like wouldn't Netflix also benefit from something about leaving AWS and then having more freedom overall too? I would love to know more reasoning of it.

4. Does anybody have more resources like these pdf's that I can read about how companies optimize things, I am interested in almost anything about optimization like for example, I would be interested in reading about google's architecture decisions but also the fact that Jane street uses custom FGPA's for their high frequency trading.

5. let's say, I am interested in finding the job/contracts to be the guy who wishes to fix these problems. So how do I establish myself in such optimization to be "the guy", and also, to gain the expertise needed, I suppose I would need to test things out which might require specialized hardware etc. (which would be capital intensive), are there things that I can test without too much capital needed yet still gain some skills in this area because it just fascinates me!

Thanks for reading and I would love to get answers, Thanks and have a nice day!

by Imustaskforhelp

5/21/2026 at 8:15:25 PM

I'm not a Netflix staff member but I work in the networking realm and can answer some of these questions (also gives me the chance to say something wrong where someone with the real answer can step in :)

1. Netflix does use AWS but it's far more economical for them to embed content caches/servers within ISP networks so that it relies solely on the ISPs network. All major CDN-like providers (Apple with their Edge Cache, Google with their GCC) offer embedded caches which tend to make a lot of sense at sufficient ISP scale (# of users). It's a misconception or just journalistic misunderstanding that everything Netflix runs is from AWS. Content delivery is the large majority of Netflix's outbound traffic. It also removes the reliance of Netflix to run in inordinately large backbone to serve content.

by RationPhantoms

5/21/2026 at 8:16:40 PM

For #1 and #3, I believe this is talking about Netflix's "Open Connect Appliance", which is basically a custom cache server that they co-locate with ISPs. Most (maybe all?) of their video content is served from this distributed CDN, not from AWS.

by teraflop

5/21/2026 at 8:43:17 PM

Control plane vs data plane. The control plane is a heap of java and some python ran in AWS. The data plane is bare metal FreeBSD servers with hardware tuned to certain parameters, usually a capacity tier and a flash tier, and sometimes a cost tier for smaller regions.

by kev009

5/21/2026 at 8:13:44 PM

I'm not qualified to comment too heavily on Netflix's infra, but I'm fairly sure that they don't _exclusively_ use AWS. There are things they run there, sure, but I understand that their actual content distribution is run on their own metal, and on FreeBSD. AWS hosts other stuff (auth, recommendation algos, etc).

by KAMSPioneer