从最近的 Amazon EC2 故障中我们可以学到什么关于构建分布式系统的知识?
现在尘埃落定,我们可以从最近的 Amazon EC2 和 Amazon RDS 服务中断中了解到什么关于构建分布式系统的信息?
Now the dust has settled, what can we learn about building distributed systems from the recent Amazon EC2 and Amazon RDS Service Outage?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
感谢您提供有趣的链接。显然,每个分布式系统都是不同的,每次中断都是独一无二的,因此很难一概而论。我的一些看法是:
即使是该地区最好的人也会发生停电...所以你最好为自己的计划做好计划。
构建分布式系统很难......所以你需要经验和有经验的朋友。
手动更改是一个常见原因...在 AWS 文章中没有明确说明,但强烈暗示。
中断通常是“突发”现象,一个简单的错误会导致许多系统以指数级增长的方式交互。 AWS 的文章将此称为“风暴”,我在大型分布式系统中目睹了类似的“风暴”。耦合程度和诸如退避参数之类的简单方面可以使扰动呈指数增长或呈指数衰减之间的差异。想想塔科马海峡大桥 - 也许这个类比有点夸张,但是调整一些简单的参数可以避免破坏性的共振。
Netflix 的《混沌猴子》很有趣。 “精益”人士告诉我们,如果某件事很困难(例如测试或部署),那么您应该经常这样做,直到它不再困难为止。也许系统故障/弹性是这种方法的下一个前沿领域。
Thanks for the interesting links. Obviously every distributed system is different and every outage is unique so it is difficult to generalise. Some takeways I have are:
Outages happen to even the best guys on the block...so you better plan for yours.
Building distributed systems is hard...so you need experience and experienced friends.
Manual changes are a common cause...not said explicitly in the AWS writeup, but strongly implied.
Outages are often "emergent" phenomena whereby a simple error causes many systems to interact in a way which grows exponentially. The AWS writeup refers to this as a "storm" and I have witnessed similar "storms" in large distributed systems. The degree of coupling and simple aspects like backoff parameters can make the difference between a disturbance that grows exponentially or decays exponentially. Think of the Tacoma Narrows bridge - perhaps the analogy is a stretch, but tuning of a few simple parameters can avoid destructive resonances.
The Netflix Chaos Monkey is interesting. The "Lean" guys have taught us that if something is difficult (like testing or deployment) then you should do it often until it aint difficult any more. Perhaps system failure/resilience is the next frontier for this approach.
现在 Netflix 的《Chaos Monkey》更有意义了。查看 NetFlix 技术博客
Now Netflix's Chaos Monkey makes more sense. Check the NetFlix tech blog