5 ms·
If we could use more than 1 IP, then we could treat 1 400Gb box as 4 100Gb boxes. That could lead to the "perfect case" every time, since connections would alw
by drewg123 5y ago
If we could use more than 1 IP, then we could treat 1 400Gb box as 4 100Gb boxes. That could lead to the "perfect case" every time, since connections would always stay local to the numa node where content is present.
- betaby 5y agoThere is no kTLS for IPv6? IPv6 space is abundant and most mobiles is USA/Canada have IPv6. Won't that solve the problem?
- drewg123 5y agoIPv4 and IPv6 can both use kTLS. We offer service via V6, but most clients connect via IPv4. It differs by region, and even time of day, but IPv4 is still the vast majority of traffic.
- toast0 5y agoI wonder if you could steer clients away from connections where the NIC and storage nodes are mismatched. Something like close the connection after N requests/N minutes if the nodes are mismatched, but leave it open indefinitely if they match. There's of course a lot of ways for that to not be very helpful. You'd still have only a 25% of getting a port number that hashes to the right node the next time (assuming tcp port number is involved at all, if it's just src and dest ips then client connections from the same IP would always hash the same, and that's probably a big portion of your clients), and if establishing connections is expensive enough (or clients aren't good at it) then that's a negative. Also if a stream's files don't tend to stay on the same node, then churning connections to get to the right node doesn't help if the next segment is on a different node. I'm sure there are other scenarios too. I know some other CDN appliance setups do use multiple IPs, so you probably could get more, but it would add administrative stress.
- topranks 5y agoIs there a reason you can’t? In a past life we broke LAGs up to use different subnets per port to prevent traffic crossing the NUMA bridge. I’m sure there are good reasons you didn’t take this approach, be interesting to hear them.