TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Keeping Netflix Reliable Using Prioritized Load Shedding

239 点作者 jakejarvis超过 4 年前

9 条评论

bklyn11201超过 4 年前
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_超过 4 年前
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 未加载
tmpz22超过 4 年前
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 未加载
annoyingnoob超过 4 年前
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 未加载
abalone超过 4 年前
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 未加载
herodoturtle超过 4 年前
Hah.<p>&quot;Load Shedding&quot;.<p>Shout-out to my fellow South Africans.
评论 #24976667 未加载
lacker超过 4 年前
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_explore超过 4 年前
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 未加载
RyanShook超过 4 年前
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 未加载