Files
CategoryResourceRepost/极客时间专栏/左耳听风/程序员练级攻略/83 | 程序员练级攻略:分布式架构工程设计.md
louzefeng d3828a7aee mod
2024-07-11 05:50:32 +00:00

335 lines
26 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<audio id="audio" title="83 | 程序员练级攻略:分布式架构工程设计" controls="" preload="none"><source id="mp3" src="https://static001.geekbang.org/resource/audio/c8/f6/c83bb40f93c1e2a1b3bae5d2771778f6.mp3"></audio>
要学好分布式架构,你首先需要学习一些架构指导性的文章和方法论,即分布式架构设计原则。下面是几篇很不错的文章,值得一读。
<li>
[Designs, Lessons and Advice from Building Large Distributed Systems](https://www.cs.cornell.edu/projects/ladis2009/talks/dean-keynote-ladis2009.pdf)Google 杰夫·迪恩Jeff Dean2009年一次演讲的PPT。2010年斯坦福大学请杰夫·迪恩到大学里给他们讲了一节课你可以在YouTube上看一下[Building Software Systems At Google and Lessons Learned](https://www.youtube.com/watch?v=modXC5IWTJI) 其回顾了Google发展的历史。
</li>
<li>
[The Twelve-Factor App](https://12factor.net/) 如今软件通常会作为一种服务来交付它们被称为网络应用程序或软件即服务SaaS。12-Factor 为构建SaaS应用提供了方法论是架构师必读的文章。[中译版](https://12factor.net/zh_cn/))这篇文章在业内的影响力很大,必读!
</li>
<li>
[Notes on Distributed Systems for Young Bloods](http://www.somethingsimilar.com/2013/01/14/notes-on-distributed-systems-for-young-bloods/) ,给准备进入分布式系统领域的人的一些忠告。
</li>
<li>
[On Designing and Deploying Internet-Scale Services](https://www.usenix.org/legacy/event/lisa07/tech/full_papers/hamilton/hamilton_html/index.html)[中译版](http://darktea.github.io/notes/2014/07/23/On-Designing-and-Deploying-Internet-Scale-Services.html)微软Windows Live服务平台的一些经验性的总结文章很值得一读。
</li>
<li>
[4 Things to Keep in Mind When Building a Platform for the Enterprise](https://blog.box.com/blog/4-things-to-keep-in-mind-when-building-a-platform-for-the-enterprise/) Box平台VP海蒂·威廉姆斯Heidi Williams撰写的一篇文章阐述了为企业构建平台时需要牢记的四件关于软件设计方面的事1. Design Broadly, Build Narrowly 2. Platforms Are Powerful and Flexible. Choose wisely what to expose when!3. Build Incrementally, Get Feedback, and Iterate4. Create a Platform-first Mentality。文章中有详细的解读推荐看看。
</li>
<li>
[Principles of Chaos Engineering](https://www.usenix.org/conference/srecon17americas/program/presentation/rosenthal) 我们知道Netflix公司有一个叫Chaos Monkey的东西这个东西会到分布式系统里“瞎搞”以此来测试系统的健壮和稳定性。这个视频中Netflix分享了一些软件架构的经验和原则值得一看。
</li>
<li>
[Building Fast &amp; Resilient Web Applications](https://www.igvita.com/2016/05/20/building-fast-and-resilient-web-applications/) 伊利亚·格里高利克Ilya Grigorik在Google I/O 2016上的一次关于如何通过弹力设计来实现快速和可容错的网站架构的演讲其中有好些经验分享。
</li>
<li>
[Design for Resiliency](http://highscalability.com/blog/2012/12/31/designing-for-resiliency-will-be-so-2013.html) 这篇文章带我们全面认识“弹力Resiliency以及弹力对于系统的重要性并详细阐述了如何设计和实现系统的弹力。
</li>
<li>
微软的Azure网站上有一系列的 [Design Principle](https://docs.microsoft.com/en-us/azure/architecture/guide/design-principles/) 的文章,你可以看看这几篇: [Design for Self-healing](https://docs.microsoft.com/en-us/azure/architecture/guide/design-principles/self-healing) 、[Design for Scaling Out](https://docs.microsoft.com/en-us/azure/architecture/guide/design-principles/scale-out) 和 [Design for Evolution](https://docs.microsoft.com/en-us/azure/architecture/guide/design-principles/design-for-evolution) 。
</li>
<li>
[Eventually Consistent](https://www.allthingsdistributed.com/2008/12/eventually_consistent.html) AWS CTO维尔纳·沃格尔斯Werner Vogels发布在自己Blog上的一篇关于最终一致性的好文。
</li>
<li>
[Writing Code that Scales](https://www.codeproject.com/Articles/151520/Write-Scalable-Code) Rackspace的一篇很不错的博文告诉我们一些很不错的写出高扩展和高性能代码的工程原则。
</li>
<li>
[Automate and Abstract: Lessons from Facebook on Engineering for Scale](https://architecht.io/lessons-from-facebook-on-engineering-for-scale-f5716f0afc7a) 软件自动化和软件抽象这是软件工程中最重要的两件事了。通过这篇文章我们可以看到Facebook的关于这方面的一些经验教训。
</li>
# 设计模式
有了方法论后,你还需要学习一些比较细节的落地的技术。最好的方式就是学习被前人总结出来的设计模式,虽然设计模式也要分场景,但是设计模式可以让你知道一些套路,这些套路对于我们设计的分布式系统有非常大的帮助,不但可以让我们少走一些弯路,而且还能让我们更为系统和健壮地设计我们的架构。
下面是一些分布式架构设计模式的网站。
首先,需要重点推荐的是微软云平台 Azure 上的设计模式。 [Cloud Design Patterns](https://docs.microsoft.com/en-us/azure/architecture/patterns/) ,这个网站上罗列了分布式设计的各种设计模式,可以说是非常全面和完整。对于每一个模式都有详细的说明,并有对其优缺点的讨论,以及适用场景和不适用场景的说明,实在是一个非常不错的学习分布式设计模式的地方。其中有如下分类。
- [设计模式:可用性](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/availability)
- [设计模式:数据管理](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/data-management)
- [设计模式:设计和实现](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/design-implementation)
- [设计模式:消息](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/messaging)
- [设计模式:管理和监控](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/management-monitoring)
- [设计模式:性能和扩展](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/performance-scalability)
- [设计模式:系统弹力](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/resiliency)
- [设计模式:安全](https://docs.microsoft.com/en-us/azure/architecture/patterns/category/security)。
除此之外,还有其它的一些关于分布式系统设计模式的网站和相关资料。
<li>
[AWS Cloud Pattern](http://en.clouddesignpattern.org/index.php/Main_Page) 这里收集了AWS云平台的一些设计模式。
</li>
<li>
[Design patterns for container-based distributed systems](https://research.google.com/pubs/archive/45406.pdf) 这是Google给的一篇论文其中描述了容器化下的分布式架构的设计模式。
</li>
<li>
[Patterns for distributed systems](https://www.slideshare.net/pagsousa/patterns-fro-distributed-systems) 这是一个PPT其中讲了一些分布式系统的架构模式你可以顺着到Google里去搜索。
</li>
我个人觉得微服务也好SOA也好都是分布式系统的一部分这里有两个网站罗列了各种各样的服务架构模式。
<li>
[A Pattern Language for Micro-Services](http://microservices.io/patterns/index.html)
</li>
<li>
[SOA Patterns](http://soapatterns.org/)。
</li>
当然,还有我在极客时间上写的那些分布式的设计模式的总结。
<li>
**弹力设计篇**,内容包括:认识故障和弹力设计、隔离设计、异步通讯设计、幂等性设计、服务的状态、补偿事务、重试设计、熔断设计、限流设计、降级设计、弹力设计总结。
</li>
<li>
**管理设计篇**,内容包括:分布式锁、配置中心、边车模式、服务网格、网关模式、部署升级策略等。
</li>
<li>
**性能设计篇**,内容包括:缓存、异步处理、数据库扩展、秒杀、边缘计算等。
</li>
# 设计与工程实践
## 分布式系统的故障测试
<li>
[FIT: Failure Injection Testing](https://medium.com/netflix-techblog/fit-failure-injection-testing-35d8e2a9bb2) Netflix公司的一篇关于做故障注入测试的文章。
</li>
<li>
[Automated Failure Testing](https://medium.com/netflix-techblog/automated-failure-testing-86c1b8bc841f) 同样来自Netflix公司的自动化故障测试的一篇博文。
</li>
<li>
[Automating Failure Testing Research at Internet Scale](https://people.ucsc.edu/~palvaro/socc16.pdf) Netflix公司伙同圣克鲁斯加利福尼亚大学和Gremlin游戏公司一同撰写的一篇论文。
</li>
## 弹性伸缩
<li>
[4 Architecture Issues When Scaling Web Applications: Bottlenecks, Database, CPU, IO](http://highscalability.com/blog/2014/5/12/4-architecture-issues-when-scaling-web-applications-bottlene.html) 本文讲解了后端程序的主要性能指标即响应时间和可伸缩性这两者如何能提高的解决方案讨论了包括纵向和横向扩展可伸缩架构、负载均衡、数据库的伸缩、CPU密集型和I/O密集型程序的考量等。
</li>
<li>
[Scaling Stateful Objects](http://ithare.com/scaling-stateful-objects/) 这是一本叫《Development&amp;Deployment of Multiplayer Online Games》书中一章内容的节选讨论了有状态和无状态的节点如何伸缩的问题。虽然还没有写完但是可以给你一些很不错的基本概念和想法。
</li>
<li>
[Scale Up vs Scale Out: Hidden Costs](https://blog.codinghorror.com/scaling-up-vs-scaling-out-hidden-costs/) Coding Horror上的一篇有趣的文章详细分析了可伸缩性架构的不同扩展方案横向扩展或纵向扩展所带来的成本差异帮助你更好地选择合理的扩展方案可以看看。
</li>
<li>
[Best Practices for Scaling Out](https://www.infoq.cn/article/hiXg6WRDjvNE0VNuwzPg) OpenShift的一篇讨论Scale out最佳实践的文章。
</li>
<li>
[Scalability Worst Practices](https://www.infoq.com/articles/scalability-worst-practices) ,这篇文章讨论了一些最差实践,你需要小心避免。
</li>
<li>
[Reddit: Lessons Learned From Mistakes Made Scaling To 1 Billion Pageviews A Month](http://highscalability.com/blog/2013/8/26/reddit-lessons-learned-from-mistakes-made-scaling-to-1-billi.html) Reddit分享的一些关于系统扩展的经验教训。
</li>
<li>
下面是几篇关于自动化弹性伸缩的文章。
<ul>
- [Autoscaling Pinterest](https://medium.com/@Pinterest_Engineering/auto-scaling-pinterest-df1d2beb4d64)
- [Square: Autoscaling Based on Request Queuing](https://medium.com/square-corner-blog/autoscaling-based-on-request-queuing-c4c0f57f860f)
- [PayPal: Autoscaling Applications](https://medium.com/paypal-engineering/autoscaling-applications-paypal-fb5bb9fdb821)
- [Trivago: Your Definite Guide For Autoscaling Jenkins](http://tech.trivago.com/2017/02/17/your-definite-guide-for-autoscaling-jenkins/)
- [Scryer: Netflixs Predictive Auto Scaling Engine](https://medium.com/netflix-techblog/scryer-netflixs-predictive-auto-scaling-engine-a3f8fc922270)。
## 一致性哈希
<li>
[Consistent Hashing](http://www.tom-e-white.com/2007/11/consistent-hashing.html) ,这是一个一致性哈希的简单教程,其中还有代码示例。
</li>
<li>
[Consistent Hashing: Algorithmic Tradeoffs](https://medium.com/@dgryski/consistent-hashing-algorithmic-tradeoffs-ef6b8e2fcae8) ,这篇文章讲述了一致性哈希的一些缺陷和坑,以及各种哈希算法的性能比较,最后还给了一组代码仓库,其中有各种哈希算法的实现。
</li>
<li>
[Distributing Content to Open Connect](https://medium.com/netflix-techblog/distributing-content-to-open-connect-3e3e391d4dc9) Netflix的一个对一致性哈希的实践提出了Uniform Consistent Hashing是挺有意思的一篇文章。
</li>
<li>
[Consistent Hashing in Cassandra](https://blog.imaginea.com/consistent-hashing-in-cassandra/) 这是Cassandra中使用到的一致性哈希的相关设计。
</li>
## 数据库分布式
<li>
[Life Beyond Distributed Transactions](https://queue.acm.org/detail.cfm?id=3025012) 该文是Salesforce的软件架构师帕特·赫兰德Pat Helland于2016年12月发表的针对其在2007年CIDR创新数据库研究会议上首次发表的同名文章的更新和缩写版本。业界谈到分布式事务通常指两段提交2PC事务Spring/JEE中JTA等)或者Paxos与Raft这些事务都有明显缺点和局限性。
而赫兰德在本文讨论的是另外一种基于本地事务情况下的事务机制它是基于实体和活动Activity的概念其实类似DDD聚合根和领域事件的概念这种工作流类型事务虽然需要程序员介入依靠消息系统实现但可以实现接近无限扩展的大型系统。赫兰德文中提出了重要的观点“如果你不能使用分布式事务那么你就只能使用工作流。”
</li>
<li>
[How Sharding Works](https://medium.com/@jeeyoungk/how-sharding-works-b4dec46b3f6) 这是一篇很不错的探讨数据Sharding的文章。基本上来说数据Sharding可能的问题都在这篇文章里谈到了。
</li>
<li>
[Why you dont want to shard](https://www.percona.com/blog/2009/08/06/why-you-dont-want-to-shard/) 这是Percona的一篇文章其中表达了不到万不得已不要做数据库分片。是的最好还是先按业务来拆分先把做成微服务的架构然后把数据集变简单然后再做Sharding会更好。
</li>
<li>
[How to Scale Big Data Applications](https://www.percona.com/sites/default/files/presentations/How%20to%20Scale%20Big%20Data%20Applications.pdf) 这也是Percona给出的一篇关于怎样给大数据应用做架构扩展的文章。值得一读。
</li>
<li>
[MySQL Sharding with ProxySQL](https://www.percona.com/blog/2016/08/30/mysql-sharding-with-proxysql/) 用ProxySQL来支撑MySQL数据分片的一篇实践文章。
</li>
## 缓存
<li>
[缓存更新的套路](https://coolshell.cn/articles/17416.html)这是我在CoolShell上写的缓存更新的几个设计模式包括Cache Aside、Read/Write Through、Write Behind Caching。
</li>
<li>
[Design Of A Modern Cache](http://highscalability.com/blog/2016/1/25/design-of-a-modern-cache.html) ,设计一个现代化的缓存系统需要注意到的东西。
</li>
<li>
[Netflix: Caching for a Global Netflix](https://medium.com/netflix-techblog/caching-for-a-global-netflix-7bcc457012f1) Netflix公司的全局缓存架构实践。
</li>
<li>
[Facebook: An analysis of Facebook photo caching](https://code.facebook.com/posts/220956754772273/an-analysis-of-facebook-photo-caching/) Facebook公司的图片缓存使用分析这篇文章挺有意思的用数据来调优不同的缓存大小和算法。
</li>
<li>
[How trivago Reduced Memcached Memory Usage by 50%](https://tech.trivago.com/2017/12/19/how-trivago-reduced-memcached-memory-usage-by-50/) Trivago公司一篇分享自己是如何把Memcached的内存使用率降了一半的实践性文章。很有意思可以让你学到很多东西。
</li>
<li>
[Caching Internal Service Calls at Yelp](https://engineeringblog.yelp.com/2018/03/caching-internal-service-calls-at-yelp.html) Yelp公司的缓存系统架构。
</li>
## 消息队列
<li>
[Understanding When to use RabbitMQ or Apache Kafka](https://content.pivotal.io/blog/understanding-when-to-use-rabbitmq-or-apache-kafka) 什么时候使用RabbitMQ什么时候使用Kafka通过这篇文章可以让你明白如何做技术决策。
</li>
<li>
[Trello: Why We Chose Kafka For The Trello Socket Architecture](https://tech.trello.com/why-we-chose-kafka/) Trello的Kafka架构分享。
</li>
<li>
[LinkedIn: Running Kafka At Scale](https://engineering.linkedin.com/kafka/running-kafka-scale) LinkedIn公司的Kafka架构扩展实践。
</li>
<li>
[Should You Put Several Event Types in the Same Kafka Topic?](https://www.confluent.io/blog/put-several-event-types-kafka-topic/) ,这个问题可能经常困扰你,这篇文章可以为你找到答案。
</li>
<li>
[Billions of Messages a Day - Yelps Real-time Data Pipeline](https://engineeringblog.yelp.com/2016/07/billions-of-messages-a-day-yelps-real-time-data-pipeline.html) Yelp公司每天十亿级实时消息的架构。
</li>
<li>
[Uber: Building Reliable Reprocessing and Dead Letter Queues with Kafka](https://eng.uber.com/reliable-reprocessing/) Uber公司的Kafka应用。
</li>
<li>
[Uber: Introducing Chaperone: How Uber Engineering Audits Kafka End-to-End](https://eng.uber.com/chaperone/) Uber公司对Kafka消息的端到端审计。
</li>
<li>
[Publishing with Apache Kafka at The New York Times](https://open.nytimes.com/publishing-with-apache-kafka-at-the-new-york-times-7f0e3b7d2077) 纽约时报的Kafka工程实践。
</li>
<li>
[Kafka Streams on Heroku](https://blog.heroku.com/kafka-streams-on-heroku) Heroku公司的Kafka Streams实践。
</li>
<li>
[Salesforce: How Apache Kafka Inspired Our Platform Events Architecture](https://engineering.salesforce.com/how-apache-kafka-inspired-our-platform-events-architecture-2f351fe4cf63) Salesforce的Kafka工程实践。
</li>
<li>
[Exactly-once Semantics are Possible: Heres How Kafka Does it](https://www.confluent.io/blog/exactly-once-semantics-are-possible-heres-how-apache-kafka-does-it/) 怎样用Kafka让只发送一次的语义变为可能。这是业界中一个很难的工程问题。
</li>
<li>
[Delivering billions of messages exactly once](https://segment.com/blog/exactly-once-delivery/) 同上,这也是一篇挑战消息只发送一次这个技术难题的文章。
</li>
<li>
[Benchmarking Streaming Computation Engines at Yahoo!](https://yahooeng.tumblr.com/post/135321837876/benchmarking-streaming-computation-engines-at)。Yahoo!的Storm团队在为他们的流式计算做技术选型时发现市面上缺乏针对不同计算平台的性能基准测试。于是他们研究并设计了一种方案来做基准测试测试了Apache Flink、Apache Storm和Apache Spark这三种平台。文中给出了结论和具体的测试方案。如果原文链接不可用请尝试搜索引擎对该网页的快照。
</li>
## 关于日志方面
<li>
[Using Logs to Build a Solid Data Infrastructure - Martin Kleppmann](https://www.confluent.io/blog/using-logs-to-build-a-solid-data-infrastructure-or-why-dual-writes-are-a-bad-idea/) 设计基于log结构应用架构的一篇不错的文章。
</li>
<li>
[Building DistributedLog: High-performance replicated log service](https://blog.twitter.com/engineering/en_us/topics/infrastructure/2015/building-distributedlog-twitter-s-high-performance-replicated-log-servic.html) Distributed是Twitter 2016年5月份开源的一个分布式日志系统。在Twitter内部已经使用2年多。其主页在 [distributedlog.io](http://distributedlog.io/)。这篇文章讲述了这个高性能日志系统的一些技术细节。另外,其技术负责人是个中国人,其在微信公众号中也分享过这个系统 [Twitter高性能分布式日志系统架构解析](https://mp.weixin.qq.com/s?__biz=MzAwMDU1MTE1OQ==&mid=403051208&idx=1&sn=1694ac05acbcb5ca53c88bfac8a68856&scene=2&srcid=1224xZuQ9QQ4sRmiPVdHTppL)。
</li>
<li>
[LogDevice: a distributed data store for logs](https://code.facebook.com/posts/357056558062811/logdevice-a-distributed-data-store-for-logs/) Facebook分布式日志系统方面的一些工程分享。
</li>
## 关于性能方面
<li>
[Understand Latency](http://highscalability.com/latency-everywhere-and-it-costs-you-sales-how-crush-it) 这篇文章收集并整理了一些和系统响应时间相关的文章可以让你全面了解和Latency有关的系统架构和设计经验方面的知识。
</li>
<li>
[Common Bottlenecks](http://highscalability.com/blog/2012/5/16/big-list-of-20-common-bottlenecks.html) 文中讲述了20个常见的系统瓶颈。
</li>
<li>
[Performance is a Feature](https://blog.codinghorror.com/performance-is-a-feature/) Coding Horror上的一篇让你关注性能的文章。
</li>
<li>
[Make Performance Part of Your Workflow](https://codeascraft.com/2014/12/11/make-performance-part-of-your-workflow/) ,这篇文章是图书《[Designing for Performance](http://shop.oreilly.com/product/0636920033578.do)》中的节选(国内没有卖的),其中给出来了一些和性能有关的设计上的平衡和美学。
</li>
<li>
[CloudFlare: How we built rate limiting capable of scaling to millions of domains](https://blog.cloudflare.com/counting-things-a-lot-of-different-things/)讲述了CloudFlare公司是怎样实现他们的限流功能的。从最简单的每客户IP限流开始分析进一步讲到anycast在这种情况下PoP的分布式限流是怎样实现的并详细解释了具体的算法。
</li>
## 关于搜索方面
- [Instagram: Search Architecture](https://instagram-engineering.com/search-architecture-eeb34a936d3a)
- [eBay: The Architecture of eBay Search](http://www.cs.otago.ac.nz/homepages/andrew/papers/2017-8.pdf)
- [eBay: Improving Search Engine Efficiency by over 25%](https://www.ebayinc.com/stories/blogs/tech/making-e-commerce-search-faster/)
- [LinkedIn: Introducing LinkedIns new search architecture](https://engineering.linkedin.com/search/did-you-mean-galene)
- [LinkedIn: Search Federation Architecture at LinkedIn](https://engineering.linkedin.com/blog/2018/03/search-federation-architecture-at-linkedin)
- [Slack: Search at Slack](https://slack.engineering/search-at-slack-431f8c80619e)
- [DoorDash: Search and Recommendations at DoorDash](https://blog.doordash.com/powering-search-recommendations-at-doordash-8310c5cfd88c)
- [Twitter: Search Service at Twitter (2014)](https://blog.twitter.com/engineering/en_us/a/2014/building-a-complete-tweet-index.html)
- [Pinterest: Manas: High Performing Customized Search System](https://medium.com/@Pinterest_Engineering/manas-a-high-performing-customized-search-system-cf189f6ca40f)
- [Sherlock: Near Real Time Search Indexing at Flipkart](https://tech.flipkart.com/sherlock-near-real-time-search-indexing-95519783859d)
- [Airbnb: Nebula: Storage Platform to Build Search Backends](https://medium.com/airbnb-engineering/nebula-as-a-storage-platform-to-build-airbnbs-search-backends-ecc577b05f06)
## 各公司的架构实践
[High Scalability](http://highscalability.com/) ,这个网站会定期分享一些大规模系统架构是怎样构建的,下面是迄今为止各个公司的架构说明。
- [YouTube Architecture](http://highscalability.com/youtube-architecture)
- [Scaling Pinterest](http://highscalability.com/blog/2013/4/15/scaling-pinterest-from-0-to-10s-of-billions-of-page-views-a.html)
- [Google Architecture](http://highscalability.com/google-architecture)
- [Scaling Twitter](http://highscalability.com/scaling-twitter-making-twitter-10000-percent-faster)
- [The WhatsApp Architecture](http://highscalability.com/blog/2014/2/26/the-whatsapp-architecture-facebook-bought-for-19-billion.html)
- [Flickr Architecture](http://highscalability.com/flickr-architecture)
- [Amazon Architecture](http://highscalability.com/amazon-architecture)
- [Stack Overflow Architecture](http://highscalability.com/blog/2009/8/5/stack-overflow-architecture.html)
- [Pinterest Architecture](http://highscalability.com/blog/2012/5/21/pinterest-architecture-update-18-million-visitors-10x-growth.html)
- [Tumblr Architecture](http://highscalability.com/blog/2012/2/13/tumblr-architecture-15-billion-page-views-a-month-and-harder.html)
- [Instagram Architecture](http://highscalability.com/blog/2011/12/6/instagram-architecture-14-million-users-terabytes-of-photos.html)
- [TripAdvisor Architecture](http://highscalability.com/blog/2011/6/27/tripadvisor-architecture-40m-visitors-200m-dynamic-page-view.html)
- [Scaling Mailbox](http://highscalability.com/blog/2013/6/18/scaling-mailbox-from-0-to-one-million-users-in-6-weeks-and-1.html)
- [Salesforce Architecture ](http://highscalability.com/blog/2013/9/23/salesforce-architecture-how-they-handle-13-billion-transacti.html)
- [ESPN Architecture](http://highscalability.com/blog/2013/11/4/espns-architecture-at-scale-operating-at-100000-duh-nuh-nuhs.html)
- [Uber Architecture](http://highscalability.com/blog/2015/9/14/how-uber-scales-their-real-time-market-platform.html)
- [Dropbox Design](https://www.youtube.com/watch?v=PE4gwstWhmc)
- [Splunk Architecture](http://www.splunk.com/view/SP-CAAABF9)
# 小结
今天我们分享的内容是高手成长篇分布式架构部分的最后一篇——分布式架构工程设计,讲述了设计原则、设计模式等方面的内容,尤其整理和推荐了国内外知名企业的设计思路和工程实践,十分具有借鉴意义。
下篇文章中,我们将分享微服务架构方面的内容。敬请期待。
下面是《程序员练级攻略》系列文章的目录。
- [开篇词](https://time.geekbang.org/column/article/8136)
<li>入门篇
<ul>
- [零基础启蒙](https://time.geekbang.org/column/article/8216)
- [正式入门](https://time.geekbang.org/column/article/8217)
- [程序员修养](https://time.geekbang.org/column/article/8700)
- [编程语言](https://time.geekbang.org/column/article/8701)
- [理论学科](https://time.geekbang.org/column/article/8887)
- [系统知识](https://time.geekbang.org/column/article/8888)
- [软件设计](https://time.geekbang.org/column/article/9369)
- [Linux系统、内存和网络系统底层知识](https://time.geekbang.org/column/article/9759)
- [异步I/O模型和Lock-Free编程系统底层知识](https://time.geekbang.org/column/article/9851)
- [Java底层知识](https://time.geekbang.org/column/article/10216)
- [数据库](https://time.geekbang.org/column/article/10301)
- [分布式架构入门(分布式架构)](https://time.geekbang.org/column/article/10603)
- [分布式架构经典图书和论文(分布式架构)](https://time.geekbang.org/column/article/10604)
- [分布式架构工程设计(分布式架构)](https://time.geekbang.org/column/article/11232)
- [微服务](https://time.geekbang.org/column/article/11116)
- [容器化和自动化运维](https://time.geekbang.org/column/article/11665)
- [机器学习和人工智能](https://time.geekbang.org/column/article/11669)
- [前端基础和底层原理(前端方向)](https://time.geekbang.org/column/article/12271)
- [前端性能优化和框架(前端方向)](https://time.geekbang.org/column/article/12389)
- [UI/UX设计前端方向](https://time.geekbang.org/column/article/12486)
- [技术资源集散地](https://time.geekbang.org/column/article/12561)