News for hackers. Stuff that matters.
Re:Serving Netflix Video at 400Gb/s on FreeBSD [pdf] by fragmede on Sunday September 19, 2021 @06:11PM (#28588420)
Particularly, kTLS is a solution that fits here, on a single-box, but I wonder how things would look if the high-perf storage boxes sent video unencrypted and there was a second box that dealt only with the TLS. We'd have to know how many streams 400Gb/s represents though, and have a far more detailed picture of Netflix's TLS needs/usage patterns.
Re:Serving Netflix Video at 400Gb/s on FreeBSD [pdf] by toast0 on Monday September 20, 2021 @01:45AM (#28590669)
A proxy for TLS wouldn't help with this load.

That proxy would still need to do kTLS to reduce the required memory bandwidth to something the system can manage, and then you're at roughly the same place. The storage nodes would likely still have kTLS capable NICs because those are good 2x100G NICs anyway. It would be easier to NUMA align the load though, so there might be some benefit there. With the right control software, the proxy could pick an origin connection that was NUMA aligned with the client connection on the proxy and the storage on the origin. That's almost definitely not worth doubling the node count for though, even if proxy nodes don't need storage so they're probably significantly less expensive than flash storage nodes.

Re:Serving Netflix Video at 400Gb/s on FreeBSD [pdf] by miohtama on Sunday September 19, 2021 @07:01PM (#28588752)
Could Netflix replace TLS with some in-house alternative that would push more processing to the client? Something that pre-encrypts the content on disk before sending, eliminating some of the TLS processing requirements?
Re:Serving Netflix Video at 400Gb/s on FreeBSD [pdf] by floatboth on Sunday September 19, 2021 @08:23PM (#28589221)
If you pre-encrypt contents on disk, it wouldn't be a per-user unique key.
Re:Serving Netflix Video at 400Gb/s on FreeBSD [pdf] by fred256 on Sunday September 19, 2021 @10:23PM (#28589835)
The content is already encrypted anyway for DRM.

I'd assume TLS is used in large part for privacy reasons (so ISPs can't sell info on what shows are popular)