帶你看 Facebook 的第一個數據中心,全球 15 億用戶的帳戶訊息都在這裡!
對於 Facebook、Google 這種科技界巨頭的科技公司而言,數據中心應該是處於軍事等級的保密狀態,就算你是這些公司的內部員工,可能在那邊工作了好幾年還不見得有機會進去。不過,最近 Facebook 卻邀請了一些記者去參觀它位於俄勒岡州的 Prineville 數據中心。<p>Prineville 數據中心是 Facebook 的第一個數據中心。它目前擁有三座大型建築,最小的一座佔地 35 萬平方公尺;最新的一座還在建設中,佔地 45 萬平方公尺。三座建築中的每一座都足夠容納一個火箭發射器,而且還能空出不少空間來。</p> <p><img src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/p4.jpg" alt="p4" width="600" height="327" /></p> <p style="text-align: center;">(Prineville 位於美國西北部。圖自:<a href="http://maps.google.com/">Google</a>)</p> <p>我們就透過照片來看一下。</p> <h3>略顯高調的招牌</h3> <p><img class="size-full wp-image-685341 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/1-19.jpg" alt="1" width="600" height="450" /></p> <p>其他公司一般不會在自家的數據中心旁邊放上一個招牌,但是 Facebook 不這樣。這是它在 Prineville 建築群旁邊設置的入口標誌。</p> <h3>水和太陽能</h3> <p><img class="size-full wp-image-685343 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/2-15.jpg" alt="2" width="600" height="449" /></p> <p>Facebook 之所以選擇在荒無人煙的俄勒岡州建立數據中心,就是為了利用這裡的冷空氣,來更換空調的服務器冷卻功能。在圖片中我們也能看到有一個巨大的儲水池,是為了在天氣變熱時起到冷卻作用。</p> <p>在用電方面,這個數據中心佔用了當地電網所供應的大多數電量,不過 Facebook 也採用太陽能來發電。</p> <h3>備用裝置</h3> <p><img class="size-full wp-image-685347 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/3-14.jpg" alt="3" width="600" height="399" /></p> <p>如果數據中心出了問題,技術人員就會從這個房間裡拿出一些備用裝置。它們每一個都貼上了條形碼,也一直有人在保管著。</p> <h3>社區服務</h3> <p><img class="size-full wp-image-685351 aligncenter" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/4-13.jpg" alt="4" width="600" height="449" /></p> <p>在 Prineville 這樣的小鎮,Facebook 是比較重要的僱主。Facebook 幫助提升了當地的電力和水利系統,所以受到當地人的歡迎。</p> <h3>數據的「太平間」</h3> <p><img class="size-full wp-image-685352 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/5-13.jpg" alt="5" width="600" height="399" /></p> <p>這個房間,連數據中心的大多數工作人員都不能進,因為它是專門用來做磁碟數據清理的。在這個房間裡,Facebook 刪除磁碟中的數據,然後將磁碟重新投入使用或者直接銷毀。</p> <h3>零食</h3> <p><img class="size-full wp-image-685353 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/6-7.jpg" alt="6" width="600" height="399" /></p> <p>沒錯,即使是感覺中冷冰冰的地方,也會有零食出現,而且貌似還不少。</p> <h3>無處不在的伺服器</h3> <p><img class="size-full wp-image-685355 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/7-5.jpg" alt="7" width="600" height="399" /></p> <p>Facebook 不使用空調來調節溫度,所以在機房裡,不那麼嘈雜,溫度也比較舒適。圖片左側的伺服器儲存的是臉書用戶的帳戶訊息。</p> <p><strong>所以理論上,如果你今天登錄了 Facebook,那麼很有可能你已經與圖片中的伺服器發生關聯。</strong></p> <h3>還是伺服器</h3> <p><img class="size-full wp-image-685356 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/8-5.jpg" alt="8" width="600" height="449" /></p> <p>這些主要負責承載 Facebook 的社群網路數據。</p> <h3>走道</h3> <p><img class="size-full wp-image-685357 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/9-3.jpg" alt="9" width="600" height="449" /></p> <p>每一條走道兩邊大概有 24 個伺服器機架。</p> <h3>伺服器細節&nbsp;</h3> <p><img class="size-full wp-image-685361 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/10-4.jpg" alt="10" width="600" height="399" /></p> <p><img class="size-full wp-image-685362 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/11-9.jpg" alt="11" width="600" height="399" /></p> <p>這裡出現的藍光是 LED 燈發出的。</p> <h3>散熱</h3> <p><img class="size-full wp-image-685363 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/12-5.jpg" alt="12" width="452" height="680" /></p> <p>為了冷卻 CPU,需要從外部抽入冷風,然後再將冷風引到圖中的走道中來。當冷風變熱,就會被排出去。與這個建築的其他方位不同,這些走道很嘈雜,而且很熱。</p> <h3>風扇</h3> <p><img class="size-full wp-image-685364 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/13-6.jpg" alt="13" width="600" height="399" /></p> <p>這張圖展示的是伺服器的風扇。</p> <h3>Big Sur</h3> <p><img class="size-full wp-image-685365 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/14-5.jpg" alt="14" width="600" height="449" /></p> <p>該數據中心安放了 Facebook 的 Big Sur 人工智慧伺服器。每一台都安裝了 8 個英偉達的高階晶片。這些伺服器看起來比 Facebook 的其他伺服器厚一點。</p> <h3>Big Sur 細節圖 1</h3> <p><img class="size-full wp-image-685366 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/15-4.jpg" alt="15" width="600" height="399" /></p> <h3>Big Sur 細節圖 2</h3> <p><img class="size-full wp-image-685367 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/16-3.jpg" alt="16" width="600" height="399" /></p> <p>可以看到,每一台 Big Sur 伺服器有兩個 CPU。</p> <h3>冷卻系統</h3> <p><img class="size-full wp-image-685369 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/17-4.jpg" alt="17" width="600" height="399" /></p> <p>在伺服器機房的二樓是冷卻系統。圖片右側就是外部空氣進來的地方。不過在進來之前,它們要先經過一層濾網,以便把空氣的灰塵過濾出去。</p> <h3>冷卻系統細節</h3> <p><img class="size-full wp-image-685371 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/18-2.jpg" alt="18" width="600" height="399" /></p> <p>當空氣被過濾之後,就要進入一個氣體冷卻系統。</p> <h3>風扇</h3> <p><img class="size-full wp-image-685372 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/19-2.jpg" alt="19" width="600" height="399" /></p> <p>圖中的風扇可以將空氣吸入到伺服器機房。</p> <h3>大風扇</h3> <p><img class="size-full wp-image-685373 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/20-1.jpg" alt="20" width="600" height="449" /></p> <p>當冷空氣完成它們的使命後,將會被外邊的大風扇抽出去。</p> <h3>4 號大樓</h3> <p><img class="size-full wp-image-685374 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/21-1.jpg" alt="21" width="600" height="399" /></p> <p>這張照片中出現的是 4 號大樓。這棟樓基本上被貢獻給「凍結的記憶」。所謂「凍結的記憶「指的就是用戶傳到 Facebook 上的一些時間較久的照片、文章、影片等數據,用戶基本上不會再去查看。畢竟 Facebook 不能刪除它們,於是就把這些數據移動到 4 號大樓中去。</p> <p>所以, 4 號大樓中的伺服器基本上處於「沉睡」狀態,除非它們收到使用者突然想要看舊資料的要求。</p> <h3>建設中的 3 號大樓</h3> <p><img class="size-full wp-image-685376 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/22-4.jpg" alt="22" width="600" height="449" /></p> <p>3 號大樓還在建設中。</p> <h3>備用發電機</h3> <p><img class="size-full wp-image-685379 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/23-1.jpg" alt="23" width="600" height="449" /></p> <p>如果出現了電力故障,這張圖中的巨型發電機就可以起到作用。</p> <h3>凍結的記憶</h3> <p><img class="size-full wp-image-685380 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/24-1.jpg" alt="24" width="600" height="449" /></p> <p>這就是用來存放「凍結的記憶」的伺服器。每個架子上有 32 個伺服器,可以儲存 2PB 的數據。(1PB=1024TB,1TB=1024GB)</p> <h3>「凍結的記憶」細節圖</h3> <p><img class="size-full wp-image-685383 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/25-1.jpg" alt="25" width="600" height="399" /></p> <h3>裝置測試實驗室</h3> <p><img class="size-full wp-image-685384 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/26.jpg" alt="26" width="563" height="680" /></p> <p>4 號樓除了要儲存「凍結的記憶」,還被作為 Facebook 的行動裝置測試實驗室。這裡大概有 60 個圖中的架子,每個架子有 32 台手機。這些手機專門用來測試 Facebook 應用的新版本。</p> <h3>Facebook Logo</h3> <p><img class="size-full wp-image-685385 aligncenter" style="display: block; margin-left: auto; margin-right: auto;" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/27.jpg" alt="27" width="600" height="399" /></p> <p>在數據中心裡很少見到 Facebook logo,但也不是沒有。</p> <h3>最後的彩蛋</h3> <p><img class="size-full wp-image-685386 aligncenter" src="http://ifanr-cdn.b0.upaiyun.com/wp-content/uploads/2016/07/28.jpg" alt="28" width="600" height="399" /></p> <p>所謂的彩蛋,就是蘋果公司在 Prinevile 的數據中心。與 Facebook 不同,蘋果並沒有在周圍設置佈置任何 logo。</p> <ul> <li>資料來自:<a href="https://techcrunch.com/gallery/a-look-inside-facebooks-data-center/slide/28/">techcrunch</a></li> </ul> <p>&nbsp;</p> <p><a href="http://www.ifanr.com/685340?utm_source=feedly&amp;utm_medium=rss&amp;utm_campaign=" target="_blank"><img src="http://cdn1.techbang.com.tw/system/images/125088/original/89feb289ab193202ea3bd9e26d4437ee.jpg?1371527945" alt="" width="100" height="46" /></a></p><a href="http://www.facebook.com/TKbang">加入T客邦Facebook粉絲團</a><img src="http://feeds.feedburner.com/~r/techbang/~4/b_dmwvSHHPo" height="1" width="1" alt=""/>