<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>米血&#39;s Blog</title>
  
  
  <link href="/atom.xml" rel="self"/>
  
  <link href="http://yoursite.com/"/>
  <updated>2018-09-02T06:28:16.982Z</updated>
  <id>http://yoursite.com/</id>
  
  <author>
    <name>Mi Mi 米血</name>
    
  </author>
  
  <generator uri="http://hexo.io/">Hexo</generator>
  
  <entry>
    <title>Harvard CS75 Notes</title>
    <link href="http://yoursite.com/2018/08/31/Harvard_CS75_Scability_09_Notes/"/>
    <id>http://yoursite.com/2018/08/31/Harvard_CS75_Scability_09_Notes/</id>
    <published>2018-08-31T06:44:47.000Z</published>
    <updated>2018-09-02T06:28:16.982Z</updated>
    
    <content type="html"><![CDATA[<p>這篇是來自於閱讀 <strong><a href="https://github.com/donnemartin/system-design-primer/blob/master/README-zh-TW.md" target="_blank" rel="noopener"><font color="#906990">system-design-primer</font></a></strong> 裡面提到的推薦影片，順便整理一些心得筆記</p><p><strong>CS75 (Summer 2012) Lecture 9 Scalability Harvard Web Development David Malan</strong></p><div class="video-container"><iframe src="//www.youtube.com/embed/-W9F__D3oY4" frameborder="0" allowfullscreen></iframe></div><h2 id="vps-v-s-shared-web-hosting"><a class="header-anchor" href="#vps-v-s-shared-web-hosting"></a>VPS v.s Shared Web Hosting</h2><p>簡單來說<br>VPS是一台獨立的實體伺服器一樣，可以在上面安裝OS或程式…等;<br>Shared Hosting是單純從一台實體CPU切出來，所以會跟其他人共用到RAM;</p><table><thead><tr><th style="text-align:left"></th><th style="text-align:center">價格</th><th style="text-align:center">服務類型</th><th style="text-align:center">穩定度</th><th style="text-align:center">IP</th><th style="text-align:center">操作自由度</th><th style="text-align:center">相關知識需求</th></tr></thead><tbody><tr><td style="text-align:left"><strong>虛擬主機<br>Web Hosting</strong></td><td style="text-align:center">一般用途較貴一些<br>但整體維護不見得</td><td style="text-align:center">單一用途</td><td style="text-align:center">高流量下很難有彈性</td><td style="text-align:center">共用</td><td style="text-align:center">低，但有圖形化介面<br>(例如cPanel)</td><td style="text-align:center">低，按圖文操作即可</td></tr><tr><td style="text-align:left"><strong>虛擬專用伺服器<br>VPS</strong></td><td style="text-align:center">可高可低<br>看系統調教程度</td><td style="text-align:center">可做相當複雜的運用</td><td style="text-align:center">看系統調教程度</td><td style="text-align:center">固定</td><td style="text-align:center">高，但網站圖形化介面須自行安裝</td><td style="text-align:center">高，最低需要了解基本Linux指令</td></tr></tbody></table><p><strong><em>Reference：<a href="https://progressbar.tw/posts/102" target="_blank" rel="noopener"><font color="#906990">[不是工程師] 架站用VPS還是Web Hosting，中文翻譯都有「虛擬」到底差在哪？</font></a></em></strong></p><h2 id="vertical-scaling"><a class="header-anchor" href="#vertical-scaling"></a>Vertical Scaling</h2><p><strong>關鍵字：CPU, Disk, RAM …</strong><br>更多的 RAM, processors, disks … 等，終究會耗盡金錢與資源</p><h2 id="horizontal-scaling-13-42"><a class="header-anchor" href="#horizontal-scaling-13-42"></a>Horizontal Scaling [13:42 ~ ]</h2><p>利用多台server, 構建拓撲</p><h2 id="load-balancing"><a class="header-anchor" href="#load-balancing"></a>Load Balancing</h2>]]></content>
    
    <summary type="html">
    
      
      
        &lt;p&gt;這篇是來自於閱讀 &lt;strong&gt;&lt;a href=&quot;https://github.com/donnemartin/system-design-primer/blob/master/README-zh-TW.md&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;
      
    
    </summary>
    
      <category term="System Design" scheme="http://yoursite.com/categories/System-Design/"/>
    
    
      <category term="System Design" scheme="http://yoursite.com/tags/System-Design/"/>
    
  </entry>
  
</feed>
