Facebook Architecture
Facebook Architecture
net/publication/262689075
CITATION READS
1 6,079
5 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Pedro Furtado on 30 May 2014.
Hugo Barrigas
Daniel Barrigas
Melyssa Barata
Pedro Furtado
Jorge Bernardino
1
Daniel
Barrigas,
Hugo
Barrigas,
Melyssa
Barata,
Pedro
Furtado
and
Jorge
Bernardino,
5/30/14
"Overview
of
Facebook
Scalable
Architecture",
in
ACM
InternaJonal
Conference
on
InformaJon
Systems
and
Design
of
CommunicaJon,
ISDOC’14,
May
16–17,
2014,
Lisboa,
Portugal.
HIP-HOP BACK-END
Developed by Facebook At the heart of the application back end are the
PHP compiler. application servers.
Converts PHP scripts into optimized C++ code. Application servers are responsible for answering
all queries and take all the writes into the
Created to minimize server resources.
system.
Some key features of HipHop are:
They also interact with a number of services to
Easy to implement extensions
achieve this.
Reduces CPU and Memory usage significantly
MYSQL SCRIBE
Fastand reliable Scalable distributed logging framework
Thousands of MySQL servers Useful for logging a wide array of data
Users randomly distributed across these servers Simple data model
Relational aspect of DB is not used Built on top of Thrift
No joins. Logically difficult(Data is distributed
randomly)
Primarily key-value store
2
Daniel
Barrigas,
Hugo
Barrigas,
Melyssa
Barata,
Pedro
Furtado
and
Jorge
Bernardino,
5/30/14
"Overview
of
Facebook
Scalable
Architecture",
in
ACM
InternaJonal
Conference
on
InformaJon
Systems
and
Design
of
CommunicaJon,
ISDOC’14,
May
16–17,
2014,
Lisboa,
Portugal.
SCRIBE THRIFT
Lightweight software framework for cross-
language development
Very quick
MEMCACHED MEMCACHED
Key-value memory storage system for arbitrary
pieces of information that result either from
database research or page rendering.
System uses client-server architecture.
3
Daniel
Barrigas,
Hugo
Barrigas,
Melyssa
Barata,
Pedro
Furtado
and
Jorge
Bernardino,
5/30/14
"Overview
of
Facebook
Scalable
Architecture",
in
ACM
InternaJonal
Conference
on
InformaJon
Systems
and
Design
of
CommunicaJon,
ISDOC’14,
May
16–17,
2014,
Lisboa,
Portugal.
HAYSTACK HAYSTACK
Efficientstorage of billions of photos.
High performance.
Highly scalable.
4