Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

负载性能 #5297

Merged
merged 5 commits into from
Mar 6, 2019
Merged

负载性能 #5297

merged 5 commits into from
Mar 6, 2019

Conversation

WangLeto
Copy link
Contributor

@WangLeto WangLeto commented Mar 4, 2019

resolve #5279

WangLeto added 2 commits March 3, 2019 22:37
pull from origin repo
负载性能
@xionglong58
Copy link
Contributor

@fanyijihua 校对认领

@fanyijihua
Copy link
Collaborator

@xionglong58 好的呢 🍺

@sunui
Copy link
Contributor

sunui commented Mar 4, 2019

@fanyijihua 校对认领

@fanyijihua
Copy link
Collaborator

@sunui 妥妥哒 🍻

Copy link
Contributor

@xionglong58 xionglong58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fanyijihua 校对完成
@WangLeto 译者翻译的很完美,值得学习


At Netflix we are obsessed with service availability, and we’ve written several blog posts over the years about how we achieve our goals. These techniques include circuit breakers, concurrency limits, chaos testing and more. Today we’re announcing our most recent innovation: adaptive concurrency limits. Adaptive concurrency limits fundamentally improve how an application behaves under extreme load, and allow us to avoid cascading service failures. We have eliminated the arduous task of trying to determine the concurrency limit of a system, while ensuring that latencies remain low. With this announcement, we’re also open-sourcing a simple Java library with integrations for servlets, executors and GRPC.
在 Netflix,我们沉痴迷于服务可用性的研究,关于如何实现目标这几年也写了几篇博客文章。这些技术包括了[断路器模式](https://zh.m.wikipedia.org/wiki/斷路器設計模式),并发限制,混沌测试等等。现在我们宣布最近的创新:自适应并发限制。自适应并发限制从根本上提升了应用程序在极端负载下的表现,并使得我们可以避免级联服务故障。我们移除了判定系统并发限制的艰难工作,又保证了延迟保持较低水平。本文发布的同时,我们开源了一个简单的 Java 类库,集成了 servlet,executor 和 GRPC 框架支持。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些技术包括了断路器模式、并发限制、混沌测试等等。


To solve this problem we turned to tried and true TCP congestion control algorithms that seek to determine how many packets may be transmitted concurrently (i.e. congestion window size) without incurring timeouts or increased latency. These algorithms keep track of various metrics to estimate the system’s concurrency limit and constantly adjust the congestion window size.
为了解决该问题,我们转向尝试真正的TCP拥塞控制算法,不会引起超时或增加延迟就能探明可以同时传输多少个数据包(比如拥塞窗口大小)。这些算法持续跟踪各种指标,以估算系统的并发限制,并持续调节拥塞窗口大小。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为了解决该问题,我们转向尝试真正的 TCP 拥塞控制算法,不会引起超时或增加延迟就能探明可以同时传输多少个数据包(比如拥塞窗口大小)。这些算法持续跟踪各种指标,以估算系统的并发限制,并持续调节拥塞窗口大小。

Copy link
Contributor

@sunui sunui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WangLeto @leviding 校对完成,翻译的很好

*Adaptive Concurrency Limits @ Netflix*
> by Eran Landau, William Thurston, Tim Bozarth
**Netflix 的自适应并发限制**
> Eran Landau, William Thurston, Tim Bozarth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

逗号改成顿号


At Netflix we are obsessed with service availability, and we’ve written several blog posts over the years about how we achieve our goals. These techniques include circuit breakers, concurrency limits, chaos testing and more. Today we’re announcing our most recent innovation: adaptive concurrency limits. Adaptive concurrency limits fundamentally improve how an application behaves under extreme load, and allow us to avoid cascading service failures. We have eliminated the arduous task of trying to determine the concurrency limit of a system, while ensuring that latencies remain low. With this announcement, we’re also open-sourcing a simple Java library with integrations for servlets, executors and GRPC.
Netflix,我们沉痴迷于服务可用性的研究,关于如何实现目标这几年也写了几篇博客文章。这些技术包括了[断路器模式](https://zh.m.wikipedia.org/wiki/斷路器設計模式),并发限制,混沌测试等等。现在我们宣布最近的创新:自适应并发限制。自适应并发限制从根本上提升了应用程序在极端负载下的表现,并使得我们可以避免级联服务故障。我们移除了判定系统并发限制的艰难工作,又保证了延迟保持较低水平。本文发布的同时,我们开源了一个简单的 Java 类库,集成了 servlet,executor 和 GRPC 框架支持。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

沉痴迷=>沉迷


At Netflix we are obsessed with service availability, and we’ve written several blog posts over the years about how we achieve our goals. These techniques include circuit breakers, concurrency limits, chaos testing and more. Today we’re announcing our most recent innovation: adaptive concurrency limits. Adaptive concurrency limits fundamentally improve how an application behaves under extreme load, and allow us to avoid cascading service failures. We have eliminated the arduous task of trying to determine the concurrency limit of a system, while ensuring that latencies remain low. With this announcement, we’re also open-sourcing a simple Java library with integrations for servlets, executors and GRPC.
Netflix,我们沉痴迷于服务可用性的研究,关于如何实现目标这几年也写了几篇博客文章。这些技术包括了[断路器模式](https://zh.m.wikipedia.org/wiki/斷路器設計模式),并发限制,混沌测试等等。现在我们宣布最近的创新:自适应并发限制。自适应并发限制从根本上提升了应用程序在极端负载下的表现,并使得我们可以避免级联服务故障。我们移除了判定系统并发限制的艰难工作,又保证了延迟保持较低水平。本文发布的同时,我们开源了一个简单的 Java 类库,集成了 servlet,executor 和 GRPC 框架支持。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

servlet,executor 逗号改顿号


When enabled, adaptive server side limits reject excess RPS and keep latency low, allowing the instance to protect itself and the services it depends on. Without rejecting excess traffic, any sustained increase in RPS or latency previously translated to even worse latencies and ultimately system failure. Services are now able to shed excess load and keep latencies low while other mitigating actions such as auto-scaling kick into action.
启用后,自适应服务器端并发限制会拒绝过多的 RPS(Request Per Second) 来较低的延迟,从而保护实例自身及其所依赖的服务。如果不拒绝过多的并发请求,RPS 或延迟的任一的持续增加都会转化为更糟糕的延迟并最终导致系统故障。服务现在能够减少过多的负载并保持较低的延迟,而其他缓和措施(如自动扩展)则会起作用。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

来较低的延迟?


When enabled, adaptive server side limits reject excess RPS and keep latency low, allowing the instance to protect itself and the services it depends on. Without rejecting excess traffic, any sustained increase in RPS or latency previously translated to even worse latencies and ultimately system failure. Services are now able to shed excess load and keep latencies low while other mitigating actions such as auto-scaling kick into action.
启用后,自适应服务器端并发限制会拒绝过多的 RPS(Request Per Second) 来较低的延迟,从而保护实例自身及其所依赖的服务。如果不拒绝过多的并发请求,RPS 或延迟的任一的持续增加都会转化为更糟糕的延迟并最终导致系统故障。服务现在能够减少过多的负载并保持较低的延迟,而其他缓和措施(如自动扩展)则会起作用。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RPS 或延迟的任一的持续增加 =>RPS 或延迟任一的持续增加


We’re excited to share our implementation and common integrations in a small open source library that can be found at [http://github.com/Netflix/concurrency-limits](http://github.com/Netflix/concurrency-limits). Our hope is that anyone interested in shielding their services from cascading failures and load-related latency degradation can take advantage of our code to achieve better availability. We look forward to feedback from the community and are happy to accept pull requests with new algorithms or integrations.
我们很高兴在一个小型开源库中分享我们的思路实现和常见框架集成:http://github.com/Netflix/concurrency-limits。 我们希望,任何想要保护其服务免于级联故障和与负载引起的延迟降级的人,都可以利用我们的代码来实现更好的可用性。 我们期待社区的反馈,并乐意接受新算法或框架集成的提交请求(Pull Request)。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request 可以不翻译

@leviding leviding added the enhancement 等待译者修改 label Mar 4, 2019
@WangLeto
Copy link
Contributor Author

WangLeto commented Mar 4, 2019

修改了校对反馈的问题;两位过奖了 (⌒_⌒;)

@@ -2,69 +2,70 @@
> * 原文作者:[Netflix Technology Blog Netflix Technology Blog](https://medium.com/@NetflixTechBlog)
> * 译文出自:[掘金翻译计划](https://github.com/xitu/gold-miner)
> * 本文永久链接:[https://github.com/xitu/gold-miner/blob/master/TODO1/performance-under-load.md](https://github.com/xitu/gold-miner/blob/master/TODO1/performance-under-load.md)
> * 译者:
> * 译者:[WangLeto](https://github.com/WangLeto)
> * 校对者:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

校对者加一下

@leviding leviding added 标注 待管理员 Review and removed enhancement 等待译者修改 labels Mar 5, 2019
@WangLeto
Copy link
Contributor Author

WangLeto commented Mar 6, 2019

@leviding 你好,校对修改完成~

@xionglong58
Copy link
Contributor

@fanyijihua

@leviding leviding merged commit bda3982 into xitu:master Mar 6, 2019
@leviding
Copy link
Member

leviding commented Mar 6, 2019

@WangLeto 已经 merge 啦~ 快快麻溜发布到掘金然后给我发下链接,方便及时添加积分哟。

掘金翻译计划有自己的知乎专栏,你也可以投稿哈,推荐使用一个好用的插件
专栏地址:https://zhuanlan.zhihu.com/juejinfanyi

@leviding leviding added 翻译完成 and removed 标注 待管理员 Review 正在校对 labels Mar 6, 2019
@xionglong58
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

负载性能
5 participants