IT지식

Facebook 서버구조와 기술

Mesia 2016. 5. 12. 21:40

1. File Storage at facebook

- Haystack : a generic HTTP-based object store containing needles that map to stored opaque objects.

* HTTP server: simple evhttp server provided with the open source libevent library

* Photo Store Server: responsible for accepting HTTP requests and translating them to the corresponding Haystack store operations (Load all meta data on Memory)

* Haystack Object Store: Index(meta data) + Data

* Filesystem(XFS): Haystack object stores are implemented on top of files stored in a single filesystem created on top of the 10TB volume.

*Storage(Blade server): 2 x quad-core CPUs, 16GB -32GB memory, hardware raid controller with 256MB - 512MB of NVRAM cache, 12+ 1TB SATA drives.


2. Web Tier at facebook

- Presentation Layer : PHP

- HipHop : a source code tansformer which transforms PHP source code into highly optimized C++ and then compiles it using g++.

- Tornado: a relatively simple non-blocking web server framework written in Python. It is designed to handle thousands of simultaneous connections, making it ideal for real-time Web services.

- Node.js: it is to provide an easy way to build scalable network programs. it presents the event loop as a language construct instead of as a library.


3. Chat Service at facebook

-


'IT지식' 카테고리의 다른 글

고가용성(High Availability) 서버 구성하기  (0) 2016.05.16
L4/L7 Switch Load Balancer  (0) 2016.05.13
Agile 개발 방법론  (0) 2016.05.02
REST API 개념  (0) 2016.05.01
SBCS vs MBCS vs WBCS 문자 셋 차이점은?  (0) 2015.04.06