TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Keeping Netflix Reliable Using Prioritized Load Shedding

239 pointsby jakejarvisover 4 years ago

9 comments

bklyn11201over 4 years ago
Totally anecdotal evidence, but I was in a rural NY house served by DSL for the past 6 months. The DSL has consistent packet loss between 4 and 6%. The only video service that could handle this level of packet loss well was Amazon Prime. Netflix couldn&#x27;t even load its browse screen until the past two weeks, where something changed, and suddenly Netflix could handle the high packet loss as well as Amazon Prime.<p>Thank you to the engineers and developers!
评论 #24970787 未加载
评论 #24971271 未加载
评论 #24970921 未加载
评论 #24970564 未加载
评论 #24969809 未加载
评论 #24981405 未加载
评论 #24974407 未加载
评论 #24973861 未加载
kache_over 4 years ago
When deciding what mechanism to employ to load shed, you should keep in mind the layer at which you are load shedding. Modern distributed systems are comprised of many layers. You can do it at the load balancer, at the OS level, or in the application logic. This becomes a trade-off. As you get closer to the core application logic, the more information you will have to make a decision. On the other hand, as you get closer, the more work you have already performed and the more cost there is to throwing away the request.<p>You may employ techniques more complex than a simple bucketing mechanism, such as acutely observing the degree at which clients are exceeding their baseline. However, these techniques aren’t free. The cost of simply throwing away the request can overwhelm your server - and the more steps you add before the shedding part the lower the maximum throughput you can tolerate before going to 0 availability. It’s important to understand at what point this happens when designing a system that takes advantage of this technique.<p>For example, If you do it at the OS level, it is a lot cheaper than leaving it to the server process. If you choose to do it in your application logic, think carefully about how much work is done for the request before it gets thrown away. Are you validating a token before you are making your decision?
评论 #24971350 未加载
tmpz22over 4 years ago
A lot of websites will now fail requests early based on a timeout, forcing users to refresh the page. I have to wonder if ad-based sites enjoy this behavior because it could lead to more ad impressions. Talking about you reddit.
评论 #24971322 未加载
评论 #24974837 未加载
annoyingnoobover 4 years ago
According to the diagram, Netflix is injecting chaos into the chaos control panel. Is that right?<p>Looks like the arrow goes the wrong direction.
评论 #24970292 未加载
abaloneover 4 years ago
For me this link just opens the Medium app and fails to load the article. I had to force it to open in a browser.<p>Seems like a pretty bad Medium bug.
评论 #24970013 未加载
评论 #24971337 未加载
herodoturtleover 4 years ago
Hah.<p>&quot;Load Shedding&quot;.<p>Shout-out to my fellow South Africans.
评论 #24976667 未加载
lackerover 4 years ago
I love the phrase &quot;Prioritized Load Shedding&quot; as corporate-speak for &quot;dropping the less-important traffic.&quot;
评论 #24970808 未加载
评论 #24969752 未加载
评论 #24969949 未加载
评论 #24972028 未加载
评论 #24969906 未加载
londons_exploreover 4 years ago
So you can drop all that traffic and the users are unimpacted... So why not just always drop that traffic and don&#x27;t even bother writing the code to implement those features that clearly nobody cares about?
评论 #24969925 未加载
评论 #24970817 未加载
评论 #24972052 未加载
评论 #24972372 未加载
RyanShookover 4 years ago
How much better would the world be if the Netflix engineering team tackled real-world problems instead of making sure we can all binge watch Stranger Things? Such a smart group of people.
评论 #24973286 未加载
评论 #24974469 未加载
评论 #24971935 未加载
评论 #24971879 未加载