IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Scalable Web Architecture and Distributed Systems

    klion26发表于 2017-04-08 06:17:43
    love 0

    名字来自于 Scalable Web Architecture and Distributed Systems。本文是一个简单版的笔记,主要是想推荐这套书籍 The Architecture of Open Source Applications。第一和第二册讲一些开源系统的设计,第三册讲性能相关,第四次每一章都用 500 行左右的代码实现一个小型的系统。现在正在出第五册。
    推荐这本书的理由很简单:

    没吃过猪肉,但总见过猪跑,其中见过猪跑很重要。

    另外最近从我们组一哥们那学到了很多东西,觉得见识真是一个很神奇的事情,只有见过大场面,经历过大场面,那么才有更大的可能创造大场面。
    下面是看这篇文章之后记录下来的一些点,有些东西不仅仅在 Web 系统中有用,在所有的分布式系统中都有用处。
    Some key principles that influence the design of large-scale web systems

    • Availiability: The uptime of a website is absolutely critical to the reputation and functionality of many companies.
    • Performance: Website performance has become an important consideration for most sites.
    • Reliability: A system needs to be reliable, such that a request for data will consistently return the same data
    • Scalability: When it comes to any large distributed system, size is just one aspect of scale that needs to be considered.
    • Manageability: Designing a system that is easy to operate is another important consideration.
    • Cost: Cost is an important factor. Cost is the total cost of ownership
      When it comes to system architecture there are a few things to consider:
    • What are the right pieces
    • How these pieces fit together
    • What are the trade-offs
      Some core factors that are central to almost all large web applications
    • services
    • redundancy
    • partitions
      • data locality
      • inconsistency
    • handling failure
      Some options can make access data fast:
    • cache
    • proxy(squid, varnish)
    • index
    • load balancer(HAProxy)
      • challenges: how to manage user-session-specific data
    • queue

      Linkage

      如果微信把链接给吞了,那就复制下面 URL 打开即可
      Scalable Web Architecture and Distributed Systems : http://aosabook.org/en/distsys.html
      The Architecture of Open Source Applications : http://aosabook.org/en/index.html



沪ICP备19023445号-2号
友情链接