SlideShare ist ein Scribd-Unternehmen logo
1 von 46
INDEX
INTRODUCTION
ARCHITECTURE OVERVIEW
SOFTWARE & SCALABILITY
LAMP
LINUX&APACHE
MYSQL
PHP & HIPHOP
DISADVANTAGES OF LAMP
MEMCACHED
HADOOP ECOSYSTEM
HADOOP HIVE
TRIFT
BIGPIPE
SCRIBE
VARNISHCACHE
HAYSTACK
MESSAGES
CHAT
CASSANDRA
MARKETING
CREDITS
INTRODUCTION
IS AN ONLINE SOCIAL NETWORKING SERVICE,
A PLATFORM TO BUILD SOCIAL RELATIONS
FOUNDED IN 2004
CEO: MARK ZUCKERBERG
MORE THAN 60.000 SERVERS
THE LAST DATACENTER IS BASED ON ENTIRELY SELF-DESIGN HARDWARE
THAT WAS RECENTLY UNVEILED AS “OPEN COMPUTE PROJECT”
300 TB OF DATA STORED IN MEMCACHE PROCESSES
Scaling challenge
THE HADOOP AND HIVE CLUSTER IS MADE OF 300.000 SERVERS WITH 8
CORES, 32GB RAM, 12TB DISKS
100BILLION HITS, 50BILLION PHOTOS, 3TRILLION OBJECTS CACHED,
130TB OF LOGS PER DAY
TOTAL: 24.000 CORES, 96TB RAM AND 36PB DISKS
ARCHITECTURE OVERVIEW
Front end & Back end
FRONT
END
presentation
layer
BACK
END
presentation
layer
Business &
data access
layers
DATA
BASE
VISITORS WEB SERVER STAFF
NOW WE WILL SEE SOME OF THE SOFTWARE THAT HELPS FACEBOOK SCALE
SOFTWARE & SCALABILITY
Software that helps Facebook to scale
IN SOME WAYS FACEBOOK IS STILL A LAMP SITE , BUT IT HAS HAD
TO CHANGE AND EXTEND ITS OPERATION TO INCORPORATE A LOT
OF OTHER ELEMENTS AND SERVICES, AND MODIFY THE APPROACH TO
EXISTING ONES
4 COMPONENTS OF A SOLUTION STACK
COMPOSED ENTIRELY OF FREE AND OPEN
SOURCED SOFTWARE
SUITABLE FOR BUILDING HIGH-AVAILABILITY HEAVY-
DUTY DYNAMIC WEBSITES
CAPABLE OF SERVING TENS OF THOUSANDS OF
REQUESTS SIMULTANEOUSLY
LAMP
LINUX & APACHE
IT IS A UNIX-LIKE OPERATING SYSTEM KERNEL
IT IS OPEN SOURCED, HIGHLY CUSTOMIZABLE,
AND SECURE.
FACEBOOK RUNS THE LINUX OPERATING SYSTEM
APACHE HTTP SERVER WHICH IS ALSO FREE AND IS THE
MOST POPULAR OPEN SOURCE WEB
SERVER IN USE
LINUX
APACHE HTTP
MySQL
Database
SPEED
RELIABILITY
IT IS USED PRIMARILY AS A KEY STORE OF VALUE
WHEN THE DATA ARE RANDOMLY DISTRIBUTED
AMONG A LARGE NUMBER OF CASES LOGICAL.
THIS LOGICAL INSTANCES EXTEND ACROSS PHYSICAL
NODES AND LOAD BALANCING IS DONE AT PHYSICAL
NODE.
FACEBOOK HAS DEVELOPED A CUSTOM
PARTITIONING SCHEME WHICH IS ASSIGNED A
GLOBAL ID FOR ALL DATA.
THEY ALSO HAVE A CUSTOM SCHEMA FILE THAT
IS BASED ON THE AMOUNT OF COMMON DATA AND
THE LATEST IS ON A PER USER BASIS. MOST OF THE
DATA ARE RANDOMLY DISTRIBUTED
CUSTOMIZATION
PHP & HIPHOP
IT IS A GOOD WEB PROGRAMMING LANGUAGE WITH EXTENSIVE SUPPORT,
ACTIVE DEVELOPER COMMUNITY AND RAPID INTERACTION. IT IS A
DYNAMICALLY TYPED LANGUAGE (INTERPRETER).
PARSER STATIC
ANALYZER
PRE-
OPTIMIZER
TYPE
INFERENCE
ENGINE
POST-
OPTIMIZER
CODE
GENERATOR
g++
FACEBOOK’S HIPHOP IS A SOURCE CODE TRANSFORMER THAT CONVERTS
THE PHP INTO C++ AND COMPILES IT USING G++, THUS PROVIDING A
HIGH PERFORMANCE TEMPLATING A WEB LOGIC EXECUTION LAYER
DISADVANTAGES OF LAMP
FACEBOOK HAS REALIZED THAT THERE ARE DISADVANTAGES TO USING THE LAMP
STACK, IS NOT NECCESSARILY OPTIMIZED FOR WEBSITES SIZE AND THEREFORE
DIFFICULT TO SCALE.
IT IS THE FASTEST EXECUTING LANGUAGE AND THE FRAMEWORK OF THE
EXTENSION IS DIFFICULT TO USE
Web/App
Server
Database
HTTP Request
HTML
HTTP Request
API/FQL
Response
FBML
Browser
MemCached
HAVING A CACHE SYSTEM ALLOWS
FACEBOOK TO BE AS FAST AS IT IS TO
REMEMBER YOUR INFORMATION. IF YOU
DON’T HAVE TO GO TO THE DATABASE
YOU JUST COLLECT DATA FROM THE
CACHE BASED ON USERNAME.
IT IS USED TO ACCELERATE
DYNAMIC WEBSITES WITH
DATABASES (LIKE FB)
CACHING THAT DATA AND
OBJECTS IN RAM TO REDUCE
READING TIME, IS THE MAIN
FORM OF CACHING FACEBOOK
AND
HELPS RELIEVE THE
BURDEN OF DATABASE
CACHING SYSTEM
CLIENT SERVERPUT/GET/REMOVE
(Sync)
MemCached
Web
Server
1
Web
Server
2
Web
Server
3
MemCached
Server Partition 1
MemCached
Server Partition 2
MemCached
Server Partition 3
MemCached
Server Partition 4
HADOOP ECOSYSTEM
IT EXISTS WITHIN A RICH ECOSYSTEM OF TOOLS FOR
PROCESSING AND ANALYZING LARGE DATA SETS
Data management
APACHE HADOOP IS AN OPEN-SOURCE FREE FRAMEWORK FOR STORAGE
AND LARGE-SCALE PROCESSING OF DATA-SETS ON CLUSTERS OF
COMMODITY HARDWARE
HADOOP HIVE
APACHE HIVE IS A DATA WAREHOUSE INFRASTRUCTURE BUILT ON TOP OF HADOOP
FOR PROVIDING DATA SUMMARIZATION, QUERY AND ANALYSIS, DEVELOPED BY FB
HADOOP WAS BUILT TO
ORGANIZE AND STORE
MASSIVE AMOUNTS OF
DATA
HIVE ALLOWS USERS TO
EXPLORE AND STRUCTURE
THAT DATA, ANALYZE IT
AND THEN TURN IT INTO
BUSINESS INSIGHT
FAMILIAR
SCALABLE &
EXTENSIBLE
FAST INFORMATIVE
THRIFT
Protocol
IT IS A LIGHTWEIGHT REMOTE PROCEDURE CALLED FRAMEWORK FOR
SCALABLE CROSS-LANGUAGE SERVICES DEVELOPMENT
IT SUPPORTS C++, PHP, PYTHON, PEARL, JAVA, RUBY, ERLANG…
PROVIDES A WORKING
DIVISION OF LABOR IN
HIGH-PERFORMANCE
SERVERS AND
APPLICATIONS
SAVES
DEVELOPMENT
TIME
FAST
BIGPIPE
CUSTOM TECHONOLOGY TO ACCELERATE PAGE
RENDERING USING A PIPELINING LOGIC
THE GENERAL IDEA IS TO DECOMPOSE WEB PAGES INTO SMALL CHUNKS
CALLED PAGELETS AND PIPELINE THEM THROUGH SEVERAL EXECUTION STAGES
INSIDE WEB SERVERS AND BROWSERS
INCREASES PERFORMANCE
&
INCREASES SPEED
SCRIBE
Server logs
IT IS A SERVER FOR AGGREGATING LOG DATA STREAM IN REAL TIME ON
MANY OTHER SERVERS, IT IS SCALABLE FRAMEWORK USEFUL FOR
RECORDING A WIDE RANGE OF DATA.
IT IS BUILT ON TOP OF SAVINGS.
DATA SUCH AS LOGIN, CLICKS AND FEEDS TRANSIT
USING SCRIBE AND ARE AGGRAVATING AND STORED IN HDFS USING
SCRIBE-HDFS, ALLOWING EXTENDED ANALYSING USING MAPREDUCE
MOVES DATA FROM THE SERVER
TO A CENTRAL REPOSITORY
VARNISH CACHE
IT IS USED FOR HTTP PROXYING
THEY HAVE IT FOR ITS HIGH PERFORMANCE AND EFFICIENCY
Request
Response
Caching
Proxy
Web
Server
WEB APPLICATION ACCELERATOR
HAYSTACK
THE STORAGE OF THE BILLIONS OF PHOTOS POSTED BY USERS IS HANDLED
WITH THIS AD-HOC STORAGE SOLUTION DEVELOPED BY FACEBOOK WHICH
BRINGS LOW LEVEL OPTIMIZATIONS AND APPEND-ONLY WRITES
NECESSARY QUALITY AS OUR USERS UPLOAD
HUNDREDS OF MILLIONS OF PHOTOS EACH
WEEK
AN OBJECT STORAGE SYSTEM
DESIGNED FOR FACEBOOK’S
PHOTOS APPLICATION
IT WAS DESIGNED TO SERVE THE
LONG TAIL OF REQUESTS SEEN BY
SHARING PHOTOS IN A LARGE
SOCIAL NETWORK
THE KEY INSIGHT IS TO AVOID DISK
OPERATIONS WHEN ACCESSING
META-DATA
HAYSTACK PROVIDES A FAULT-TOLERANT AND SIMPLE SOLUTION TO PHOTO
STORAGE AT DRAMATICALLY LESS COST AND HIGHER THROUGHPUT THAN A
TRADITIONAL APPROACH USING NAS APPLIANCES
MESSENGER
IT IS USING ITS OWN ARCHITECTURE
WHICH IS NOT NOTABLY BASED ON
INFRASTRUCTURE SHARDING AND DYNAMIC
CLUSTER MANAGEMENT
BUSINESS LOGIC AND PERSISTENCE IS
ENCAPSULATED IN SO CALLED “CELL”
EACH CELL HANDLES A PART OF USERS; NEW
CELLS CAN BE ADD AS POPULARITY GROWS.
PERSISTENCE IS ACHIEVED USING HBASED,
WHICH STORES ALSO AN INVERTED INDEX
FOR EACH SEARCH ENGINE.
THIS IS THE APPLICATION FOR IPAD
THIS IS ‘MESSENGER’
FOR PORTABLE DEVICES
CHAT
BASED ON AN EPOLL SERVER
DEVELOPED IN ERLANG
ACCESSED USING THRIFT
CASSANDRA
Database
DESIGNED TO HANDLE LARGE AMOUNT OF
DATA SPLIT OUT ACROSS MANY SERVERS
THE FUNCTION OF THE POWER OF FACEBOOK INBOX
SEARCH AND PROVIDES A STRUCTURE OF KEY-VALUE
STORE WITH EVENTUAL CONSISTENCY
OPEN
SOURCE
HIGH
PERFORMANCE
ELASTIC
SCALABILITY
P2P
ARCHITECTURE
COLUMN
ORIENTED
TUNABLE
CONSISTENCY
SCHEMA
FREE
HIGH
AVAILABILITY
Architecture
Cassandra API Tools
Storage Layer
Partitioner Replicator
Failure detector Cluster Membership
Messaging Layer
Inbox Search
MARKETING
Why is important for businesses?
A RECENT STUDY BY UNIVERSITY OF FLORIDA ON UNDERGRADUATE AND GRADUATE STUDENTS IS
INFORMATIVE AS IT REVEALS THE PREFERENCES OF YOUNG PEOPLE ON FACEBOOK
THE RESULTS SHOWED THAT MOST ARE OKAY WITH BUSINESS PAGE BUT FEEL ANNOYED BY STRAIGHT
ADVERTISEMENTS
COMPANIES SHOULD PUT MORE EFFORT ON THEIR FACEBOOK PAGE
INSTEAD OF SPENDING A LOT OF MONEY ON ADVERTISEMENTS
GREAT SPACE TO KEEP CUSTOMERS INFORMED
DEVELOP BRAND IDENTITY
BROADEN YOUR REACH
FACEBOOK IS A TWO WAY COMMUNICATION
THEY HELP US KNOW WHO
YOU ARE SO WE CAN SHOW
CONTENT THAT’S MOST
RELEVANT TO YOU,
INCLUDING FEATURES,
PRODUCTS, AND ADS
THEY WORK WITH FACEBOOK
FEATURES AND HELP US IMPROVE
OUR PRODUCTS AND SERVICES, SO
YOU CAN DO THINGS LIKE SEE
WHICH FRIENDS ARE ONLINE IN
CHAT, USE SHARE BUTTONS,
AND UPLOAD PHOTOS
THEY HELP SECURE
FACEBOOK BY LETTING US
KNOW IF SOMEONE TRIES
TO ACCESS YOUR ACCOUNT
OR ENGAGES IN ACTIVITY
THAT VIOLATES OUR
TERMS
COOKIES
How they use them?
SHOW WHAT
MATTERS TO YOU
IMPROVE YOUR
EXPERIENCE
PROTECTION
AND SECURITY
Facebook changed the algorithm so
that the advertising will look like this…
And NOT like this…
ALGORITHM
Technique for increasing likes or
driving website clicks
CLASSIC ADS
CONTESTS
MARKETING TACTIC THAT CAN INCREASE FANS AND BRAND AWARENESS.
BUSINESSES MUST USE A THIRD-PARTY APP FOR CREATING THEIR FACEBOOK
CONTEST, THEN DIRECT USERS TO THE APP FROM THEIR FACEBOOK PAGE.
PROMOTED POSTS
PAGE OWNERS PAY A FLAT
RATE IN ORDER TO HAVE A
SINGLE POST REACH A
CERTAIN NUMBER OF USERS,
INCREASING A SPECIFIC
POST’S REACH AND
IMPRESSIONS
SPONSORED STORIES
FACEBOOK CLAIMS THAT
SPONSORED STORIES HAVE
46% HIGHER CTRS AND 20%
LOWER CPCS THAN
REGULAR FACEBOOK ADS,
MAKING THEM A VERY
SERIOUS STRATEGY FOR
MARKETING ON FACEBOOK
FACEBOOK AD THAT SHOWS A USER’S
INTERACTIONS TO THE USER’S FRIENDS
FACEBOOK SPONSORED STORIES CAN BE
CREATED EASILY THROUGH THE
FACEBOOK AD CREATE FLOW
SEEKS TO CAPITALIZE ON THE “WORD OF
MOUTH” CONCEPT
FACEBOOK EXCHANGE
AD RETARGETING ON FACEBOOK THROUGH REAL-TIME BIDDING
ADVERTISERS CAN TARGET AUDIENCES BASED
ON WEB HISTORY DATA
FIRST PARTY COOKIE DATA
FROM A BRAND’S OWN WEBSITE
DSP/ATD PARTNERS
AS WELL AS THIRD PARTY
COOKIE DATA FROM OTHER
SOURCES
TO TARGET USERS ON FACEBOOK BASED
ON THEIR PREVIOUS WEB ACTIVITY
1
2
3
OPEN GRAPH
BUSINESSES CAN LABEL A USER’S
ACTION WITH THEIR APP
BUSINESSES CAN CREATE THIRD-
PARTY APPS THAT CONNECT TO A
USER AND POST A NOTICE ON
FACEBOOK WHEN A USER
PERFORMS A SPECIFIC ACTION
WITH THE APP
ALLOWS FOR CREATIVE INTERACTIVE
OPTIONS OUTSIDE OF THE
STANDARD “LIKE” AND “COMMENT”
Listen
Watch
Play
Cook
Want
Customize
Song
Movie
Game
Recipe
Shoes
Car
EXAMPLES
USER ACTION OBJECT
OPEN GRAPH FRAMEWORK
THANK YOU
VALERIA DI PERSIO
CRISTINA MUÑOZ
THE TEAM

Weitere ähnliche Inhalte

Was ist angesagt?

Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specificationAman Adhikari
 
Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)Ravindra Dastikop
 
Image encryption and decryption
Image encryption and decryptionImage encryption and decryption
Image encryption and decryptionAashish R
 
Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applicationsBurhan Ahmed
 
NIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference ArchitectureNIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference ArchitectureThanakrit Lersmethasakul
 
Security in a Virtualised Environment
Security in a Virtualised EnvironmentSecurity in a Virtualised Environment
Security in a Virtualised EnvironmentPeter Wood
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43myrajendra
 
Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms
Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms
Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms Sam Bowne
 
Client server architecture
Client server architectureClient server architecture
Client server architectureBhargav Amin
 
Key management and distribution
Key management and distributionKey management and distribution
Key management and distributionRiya Choudhary
 
Unit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingUnit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingMonishaNehkal
 
Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesAbdelkhalik Mosa
 

Was ist angesagt? (20)

Client Server Architecture ppt
Client Server Architecture pptClient Server Architecture ppt
Client Server Architecture ppt
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specification
 
Memory virtualization
Memory virtualizationMemory virtualization
Memory virtualization
 
Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)
 
Image encryption and decryption
Image encryption and decryptionImage encryption and decryption
Image encryption and decryption
 
Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applications
 
Http
HttpHttp
Http
 
Bug Tracking Java Project
Bug Tracking Java ProjectBug Tracking Java Project
Bug Tracking Java Project
 
NIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference ArchitectureNIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference Architecture
 
Security in a Virtualised Environment
Security in a Virtualised EnvironmentSecurity in a Virtualised Environment
Security in a Virtualised Environment
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
 
Parallel Computing
Parallel ComputingParallel Computing
Parallel Computing
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43
 
Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms
Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms
Ch 1: Web Application (In)security & Ch 2: Core Defense Mechanisms
 
Malicious software
Malicious softwareMalicious software
Malicious software
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Web Security
Web SecurityWeb Security
Web Security
 
Key management and distribution
Key management and distributionKey management and distribution
Key management and distribution
 
Unit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingUnit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computing
 
Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling Technologies
 

Andere mochten auch

facebook architecture for 600M users
facebook architecture for 600M usersfacebook architecture for 600M users
facebook architecture for 600M usersJongyoon Choi
 
Building a Scalable Architecture for web apps
Building a Scalable Architecture for web appsBuilding a Scalable Architecture for web apps
Building a Scalable Architecture for web appsDirecti Group
 
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Software Park Thailand
 
NoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worldsNoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worldsAndrew Morgan
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarAndrew Morgan
 
Successful MySQL Scalability
Successful MySQL ScalabilitySuccessful MySQL Scalability
Successful MySQL ScalabilityRonald Bradford
 
MySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and ScalabilityMySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and ScalabilityShivji Kumar Jha
 
Seminar : "The Future of MYSQL - Roadmap to Success" session MySQL...
Seminar : "The Future of MYSQL - Roadmap to Success"  session MySQL...Seminar : "The Future of MYSQL - Roadmap to Success"  session MySQL...
Seminar : "The Future of MYSQL - Roadmap to Success" session MySQL...Software Park Thailand
 
Mysql cluster introduction
Mysql cluster introductionMysql cluster introduction
Mysql cluster introductionAndrew Morgan
 
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Software Park Thailand
 
Best practices for MySQL High Availability
Best practices for MySQL High AvailabilityBest practices for MySQL High Availability
Best practices for MySQL High AvailabilityColin Charles
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)Andrew Morgan
 
7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications7 Stages of Scaling Web Applications
7 Stages of Scaling Web ApplicationsDavid Mitzenmacher
 
FOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsFOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsAndrew Morgan
 
Architecture of a Modern Web App
Architecture of a Modern Web AppArchitecture of a Modern Web App
Architecture of a Modern Web Appscothis
 

Andere mochten auch (16)

facebook architecture for 600M users
facebook architecture for 600M usersfacebook architecture for 600M users
facebook architecture for 600M users
 
MySQL Cluster Basics
MySQL Cluster BasicsMySQL Cluster Basics
MySQL Cluster Basics
 
Building a Scalable Architecture for web apps
Building a Scalable Architecture for web appsBuilding a Scalable Architecture for web apps
Building a Scalable Architecture for web apps
 
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
 
NoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worldsNoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worlds
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinar
 
Successful MySQL Scalability
Successful MySQL ScalabilitySuccessful MySQL Scalability
Successful MySQL Scalability
 
MySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and ScalabilityMySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and Scalability
 
Seminar : "The Future of MYSQL - Roadmap to Success" session MySQL...
Seminar : "The Future of MYSQL - Roadmap to Success"  session MySQL...Seminar : "The Future of MYSQL - Roadmap to Success"  session MySQL...
Seminar : "The Future of MYSQL - Roadmap to Success" session MySQL...
 
Mysql cluster introduction
Mysql cluster introductionMysql cluster introduction
Mysql cluster introduction
 
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
 
Best practices for MySQL High Availability
Best practices for MySQL High AvailabilityBest practices for MySQL High Availability
Best practices for MySQL High Availability
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
 
7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications
 
FOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsFOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worlds
 
Architecture of a Modern Web App
Architecture of a Modern Web AppArchitecture of a Modern Web App
Architecture of a Modern Web App
 

Ähnlich wie Facebook architecture presentation: scalability challenge

Sharing bisnis big data v3 part2
Sharing  bisnis big data v3 part2Sharing  bisnis big data v3 part2
Sharing bisnis big data v3 part2Dwika Sudrajat
 
Lightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDBLightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDBMongoDB
 
Lightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDBLightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDBMongoDB
 
Hadoop Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...
Hadoop  Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...Hadoop  Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...
Hadoop Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...Sunitha Flowerhill
 
Social Media, Cloud Computing and architecture
Social Media, Cloud Computing and architectureSocial Media, Cloud Computing and architecture
Social Media, Cloud Computing and architectureRick Mans
 
SQL Saturday Redmond The Power Platform
SQL Saturday Redmond The Power Platform SQL Saturday Redmond The Power Platform
SQL Saturday Redmond The Power Platform Berkovich Consulting
 
Waltwilliamsresume2011
Waltwilliamsresume2011Waltwilliamsresume2011
Waltwilliamsresume2011Walt Williams
 
APIs, Web Services, and Mashups: What they are and how they can be used
APIs, Web Services, and Mashups: What they are and how they can be usedAPIs, Web Services, and Mashups: What they are and how they can be used
APIs, Web Services, and Mashups: What they are and how they can be usedsnackeru
 
Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...
Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...
Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...dflejter
 
Oasis Symposium 2008 Rakesh Saha
Oasis Symposium 2008 Rakesh SahaOasis Symposium 2008 Rakesh Saha
Oasis Symposium 2008 Rakesh SahaRakesh Saha
 
facebookthrift-151001153400-lva1-app6891.pptx
facebookthrift-151001153400-lva1-app6891.pptxfacebookthrift-151001153400-lva1-app6891.pptx
facebookthrift-151001153400-lva1-app6891.pptxPrasannaKumarpanda2
 
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summitAnalysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summitSlim Baltagi
 
Experience Ajax - Workshop For Designers
Experience Ajax - Workshop For DesignersExperience Ajax - Workshop For Designers
Experience Ajax - Workshop For Designersshank
 
Hadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both WorldsHadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both WorldsInside Analysis
 
SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...
SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...
SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...Andrea Berberich
 

Ähnlich wie Facebook architecture presentation: scalability challenge (20)

Sharing bisnis big data v3 part2
Sharing  bisnis big data v3 part2Sharing  bisnis big data v3 part2
Sharing bisnis big data v3 part2
 
Lightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDBLightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDB
 
Lightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDBLightweight Business Intelligence with MongoDB
Lightweight Business Intelligence with MongoDB
 
Hadoop Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...
Hadoop  Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...Hadoop  Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...
Hadoop Tutorial, Usage, Evolution, Data Lake, Business Intelligence by Sunit...
 
Social World
Social WorldSocial World
Social World
 
Social Media, Cloud Computing and architecture
Social Media, Cloud Computing and architectureSocial Media, Cloud Computing and architecture
Social Media, Cloud Computing and architecture
 
OOP 2014
OOP 2014OOP 2014
OOP 2014
 
SQL Saturday Redmond The Power Platform
SQL Saturday Redmond The Power Platform SQL Saturday Redmond The Power Platform
SQL Saturday Redmond The Power Platform
 
Waltwilliamsresume2011
Waltwilliamsresume2011Waltwilliamsresume2011
Waltwilliamsresume2011
 
portfolio
portfolioportfolio
portfolio
 
APIs, Web Services, and Mashups: What they are and how they can be used
APIs, Web Services, and Mashups: What they are and how they can be usedAPIs, Web Services, and Mashups: What they are and how they can be used
APIs, Web Services, and Mashups: What they are and how they can be used
 
Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...
Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...
Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Too...
 
Oasis Symposium 2008 Rakesh Saha
Oasis Symposium 2008 Rakesh SahaOasis Symposium 2008 Rakesh Saha
Oasis Symposium 2008 Rakesh Saha
 
facebookthrift-151001153400-lva1-app6891.pptx
facebookthrift-151001153400-lva1-app6891.pptxfacebookthrift-151001153400-lva1-app6891.pptx
facebookthrift-151001153400-lva1-app6891.pptx
 
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summitAnalysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
 
Analysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data AnalyticsAnalysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data Analytics
 
Analysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data AnalyticsAnalysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data Analytics
 
Experience Ajax - Workshop For Designers
Experience Ajax - Workshop For DesignersExperience Ajax - Workshop For Designers
Experience Ajax - Workshop For Designers
 
Hadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both WorldsHadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both Worlds
 
SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...
SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...
SMX & Top takeways: Voice Search, AMP, PWA, SERP-less Search, Structured Data...
 

Mehr von Cristina Munoz

An introduction to beacons
An introduction to beaconsAn introduction to beacons
An introduction to beaconsCristina Munoz
 
An introduction to beacons
An introduction to beaconsAn introduction to beacons
An introduction to beaconsCristina Munoz
 
CURRICULUM VITAE CRISTINA SPAIN
CURRICULUM VITAE CRISTINA SPAINCURRICULUM VITAE CRISTINA SPAIN
CURRICULUM VITAE CRISTINA SPAINCristina Munoz
 
Social Media Marketing Plan Sample
Social Media Marketing Plan SampleSocial Media Marketing Plan Sample
Social Media Marketing Plan SampleCristina Munoz
 
Digital marketing: a new brand of pasta
Digital marketing: a new brand of pastaDigital marketing: a new brand of pasta
Digital marketing: a new brand of pastaCristina Munoz
 
B2B: Business case Gearbox
B2B: Business case GearboxB2B: Business case Gearbox
B2B: Business case GearboxCristina Munoz
 
Kinder transmedia storytelling
Kinder transmedia storytellingKinder transmedia storytelling
Kinder transmedia storytellingCristina Munoz
 

Mehr von Cristina Munoz (12)

An introduction to beacons
An introduction to beaconsAn introduction to beacons
An introduction to beacons
 
An introduction to beacons
An introduction to beaconsAn introduction to beacons
An introduction to beacons
 
CURRICULUM VITAE CRISTINA SPAIN
CURRICULUM VITAE CRISTINA SPAINCURRICULUM VITAE CRISTINA SPAIN
CURRICULUM VITAE CRISTINA SPAIN
 
INDIFESA 2014
INDIFESA 2014INDIFESA 2014
INDIFESA 2014
 
Social Media Marketing Plan Sample
Social Media Marketing Plan SampleSocial Media Marketing Plan Sample
Social Media Marketing Plan Sample
 
Digital marketing: a new brand of pasta
Digital marketing: a new brand of pastaDigital marketing: a new brand of pasta
Digital marketing: a new brand of pasta
 
B2B: Business case Gearbox
B2B: Business case GearboxB2B: Business case Gearbox
B2B: Business case Gearbox
 
Miss cassiera
Miss cassieraMiss cassiera
Miss cassiera
 
Mc donalds
Mc donaldsMc donalds
Mc donalds
 
Tfc presentation
Tfc presentationTfc presentation
Tfc presentation
 
Esselunga
EsselungaEsselunga
Esselunga
 
Kinder transmedia storytelling
Kinder transmedia storytellingKinder transmedia storytelling
Kinder transmedia storytelling
 

Kürzlich hochgeladen

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Kürzlich hochgeladen (20)

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

Facebook architecture presentation: scalability challenge

  • 1.
  • 2. INDEX INTRODUCTION ARCHITECTURE OVERVIEW SOFTWARE & SCALABILITY LAMP LINUX&APACHE MYSQL PHP & HIPHOP DISADVANTAGES OF LAMP MEMCACHED HADOOP ECOSYSTEM HADOOP HIVE TRIFT BIGPIPE SCRIBE VARNISHCACHE HAYSTACK MESSAGES CHAT CASSANDRA MARKETING CREDITS
  • 3. INTRODUCTION IS AN ONLINE SOCIAL NETWORKING SERVICE, A PLATFORM TO BUILD SOCIAL RELATIONS FOUNDED IN 2004 CEO: MARK ZUCKERBERG
  • 4. MORE THAN 60.000 SERVERS THE LAST DATACENTER IS BASED ON ENTIRELY SELF-DESIGN HARDWARE THAT WAS RECENTLY UNVEILED AS “OPEN COMPUTE PROJECT” 300 TB OF DATA STORED IN MEMCACHE PROCESSES Scaling challenge
  • 5. THE HADOOP AND HIVE CLUSTER IS MADE OF 300.000 SERVERS WITH 8 CORES, 32GB RAM, 12TB DISKS 100BILLION HITS, 50BILLION PHOTOS, 3TRILLION OBJECTS CACHED, 130TB OF LOGS PER DAY TOTAL: 24.000 CORES, 96TB RAM AND 36PB DISKS
  • 6. ARCHITECTURE OVERVIEW Front end & Back end FRONT END presentation layer BACK END presentation layer Business & data access layers DATA BASE VISITORS WEB SERVER STAFF
  • 7. NOW WE WILL SEE SOME OF THE SOFTWARE THAT HELPS FACEBOOK SCALE SOFTWARE & SCALABILITY Software that helps Facebook to scale IN SOME WAYS FACEBOOK IS STILL A LAMP SITE , BUT IT HAS HAD TO CHANGE AND EXTEND ITS OPERATION TO INCORPORATE A LOT OF OTHER ELEMENTS AND SERVICES, AND MODIFY THE APPROACH TO EXISTING ONES
  • 8. 4 COMPONENTS OF A SOLUTION STACK COMPOSED ENTIRELY OF FREE AND OPEN SOURCED SOFTWARE SUITABLE FOR BUILDING HIGH-AVAILABILITY HEAVY- DUTY DYNAMIC WEBSITES CAPABLE OF SERVING TENS OF THOUSANDS OF REQUESTS SIMULTANEOUSLY LAMP
  • 9. LINUX & APACHE IT IS A UNIX-LIKE OPERATING SYSTEM KERNEL IT IS OPEN SOURCED, HIGHLY CUSTOMIZABLE, AND SECURE. FACEBOOK RUNS THE LINUX OPERATING SYSTEM APACHE HTTP SERVER WHICH IS ALSO FREE AND IS THE MOST POPULAR OPEN SOURCE WEB SERVER IN USE LINUX APACHE HTTP
  • 10. MySQL Database SPEED RELIABILITY IT IS USED PRIMARILY AS A KEY STORE OF VALUE WHEN THE DATA ARE RANDOMLY DISTRIBUTED AMONG A LARGE NUMBER OF CASES LOGICAL. THIS LOGICAL INSTANCES EXTEND ACROSS PHYSICAL NODES AND LOAD BALANCING IS DONE AT PHYSICAL NODE. FACEBOOK HAS DEVELOPED A CUSTOM PARTITIONING SCHEME WHICH IS ASSIGNED A GLOBAL ID FOR ALL DATA. THEY ALSO HAVE A CUSTOM SCHEMA FILE THAT IS BASED ON THE AMOUNT OF COMMON DATA AND THE LATEST IS ON A PER USER BASIS. MOST OF THE DATA ARE RANDOMLY DISTRIBUTED CUSTOMIZATION
  • 11.
  • 12. PHP & HIPHOP IT IS A GOOD WEB PROGRAMMING LANGUAGE WITH EXTENSIVE SUPPORT, ACTIVE DEVELOPER COMMUNITY AND RAPID INTERACTION. IT IS A DYNAMICALLY TYPED LANGUAGE (INTERPRETER). PARSER STATIC ANALYZER PRE- OPTIMIZER TYPE INFERENCE ENGINE POST- OPTIMIZER CODE GENERATOR g++ FACEBOOK’S HIPHOP IS A SOURCE CODE TRANSFORMER THAT CONVERTS THE PHP INTO C++ AND COMPILES IT USING G++, THUS PROVIDING A HIGH PERFORMANCE TEMPLATING A WEB LOGIC EXECUTION LAYER
  • 13. DISADVANTAGES OF LAMP FACEBOOK HAS REALIZED THAT THERE ARE DISADVANTAGES TO USING THE LAMP STACK, IS NOT NECCESSARILY OPTIMIZED FOR WEBSITES SIZE AND THEREFORE DIFFICULT TO SCALE. IT IS THE FASTEST EXECUTING LANGUAGE AND THE FRAMEWORK OF THE EXTENSION IS DIFFICULT TO USE Web/App Server Database HTTP Request HTML HTTP Request API/FQL Response FBML Browser
  • 14. MemCached HAVING A CACHE SYSTEM ALLOWS FACEBOOK TO BE AS FAST AS IT IS TO REMEMBER YOUR INFORMATION. IF YOU DON’T HAVE TO GO TO THE DATABASE YOU JUST COLLECT DATA FROM THE CACHE BASED ON USERNAME. IT IS USED TO ACCELERATE DYNAMIC WEBSITES WITH DATABASES (LIKE FB) CACHING THAT DATA AND OBJECTS IN RAM TO REDUCE READING TIME, IS THE MAIN FORM OF CACHING FACEBOOK AND HELPS RELIEVE THE BURDEN OF DATABASE CACHING SYSTEM
  • 15. CLIENT SERVERPUT/GET/REMOVE (Sync) MemCached Web Server 1 Web Server 2 Web Server 3 MemCached Server Partition 1 MemCached Server Partition 2 MemCached Server Partition 3 MemCached Server Partition 4
  • 16. HADOOP ECOSYSTEM IT EXISTS WITHIN A RICH ECOSYSTEM OF TOOLS FOR PROCESSING AND ANALYZING LARGE DATA SETS Data management APACHE HADOOP IS AN OPEN-SOURCE FREE FRAMEWORK FOR STORAGE AND LARGE-SCALE PROCESSING OF DATA-SETS ON CLUSTERS OF COMMODITY HARDWARE
  • 17.
  • 18. HADOOP HIVE APACHE HIVE IS A DATA WAREHOUSE INFRASTRUCTURE BUILT ON TOP OF HADOOP FOR PROVIDING DATA SUMMARIZATION, QUERY AND ANALYSIS, DEVELOPED BY FB HADOOP WAS BUILT TO ORGANIZE AND STORE MASSIVE AMOUNTS OF DATA HIVE ALLOWS USERS TO EXPLORE AND STRUCTURE THAT DATA, ANALYZE IT AND THEN TURN IT INTO BUSINESS INSIGHT FAMILIAR SCALABLE & EXTENSIBLE FAST INFORMATIVE
  • 19. THRIFT Protocol IT IS A LIGHTWEIGHT REMOTE PROCEDURE CALLED FRAMEWORK FOR SCALABLE CROSS-LANGUAGE SERVICES DEVELOPMENT IT SUPPORTS C++, PHP, PYTHON, PEARL, JAVA, RUBY, ERLANG… PROVIDES A WORKING DIVISION OF LABOR IN HIGH-PERFORMANCE SERVERS AND APPLICATIONS SAVES DEVELOPMENT TIME FAST
  • 20. BIGPIPE CUSTOM TECHONOLOGY TO ACCELERATE PAGE RENDERING USING A PIPELINING LOGIC THE GENERAL IDEA IS TO DECOMPOSE WEB PAGES INTO SMALL CHUNKS CALLED PAGELETS AND PIPELINE THEM THROUGH SEVERAL EXECUTION STAGES INSIDE WEB SERVERS AND BROWSERS INCREASES PERFORMANCE & INCREASES SPEED
  • 21.
  • 22. SCRIBE Server logs IT IS A SERVER FOR AGGREGATING LOG DATA STREAM IN REAL TIME ON MANY OTHER SERVERS, IT IS SCALABLE FRAMEWORK USEFUL FOR RECORDING A WIDE RANGE OF DATA. IT IS BUILT ON TOP OF SAVINGS. DATA SUCH AS LOGIN, CLICKS AND FEEDS TRANSIT USING SCRIBE AND ARE AGGRAVATING AND STORED IN HDFS USING SCRIBE-HDFS, ALLOWING EXTENDED ANALYSING USING MAPREDUCE
  • 23. MOVES DATA FROM THE SERVER TO A CENTRAL REPOSITORY
  • 24. VARNISH CACHE IT IS USED FOR HTTP PROXYING THEY HAVE IT FOR ITS HIGH PERFORMANCE AND EFFICIENCY Request Response Caching Proxy Web Server WEB APPLICATION ACCELERATOR
  • 25. HAYSTACK THE STORAGE OF THE BILLIONS OF PHOTOS POSTED BY USERS IS HANDLED WITH THIS AD-HOC STORAGE SOLUTION DEVELOPED BY FACEBOOK WHICH BRINGS LOW LEVEL OPTIMIZATIONS AND APPEND-ONLY WRITES
  • 26. NECESSARY QUALITY AS OUR USERS UPLOAD HUNDREDS OF MILLIONS OF PHOTOS EACH WEEK AN OBJECT STORAGE SYSTEM DESIGNED FOR FACEBOOK’S PHOTOS APPLICATION IT WAS DESIGNED TO SERVE THE LONG TAIL OF REQUESTS SEEN BY SHARING PHOTOS IN A LARGE SOCIAL NETWORK THE KEY INSIGHT IS TO AVOID DISK OPERATIONS WHEN ACCESSING META-DATA HAYSTACK PROVIDES A FAULT-TOLERANT AND SIMPLE SOLUTION TO PHOTO STORAGE AT DRAMATICALLY LESS COST AND HIGHER THROUGHPUT THAN A TRADITIONAL APPROACH USING NAS APPLIANCES
  • 27. MESSENGER IT IS USING ITS OWN ARCHITECTURE WHICH IS NOT NOTABLY BASED ON INFRASTRUCTURE SHARDING AND DYNAMIC CLUSTER MANAGEMENT BUSINESS LOGIC AND PERSISTENCE IS ENCAPSULATED IN SO CALLED “CELL” EACH CELL HANDLES A PART OF USERS; NEW CELLS CAN BE ADD AS POPULARITY GROWS. PERSISTENCE IS ACHIEVED USING HBASED, WHICH STORES ALSO AN INVERTED INDEX FOR EACH SEARCH ENGINE.
  • 28.
  • 29. THIS IS THE APPLICATION FOR IPAD THIS IS ‘MESSENGER’ FOR PORTABLE DEVICES
  • 30. CHAT BASED ON AN EPOLL SERVER DEVELOPED IN ERLANG ACCESSED USING THRIFT
  • 31. CASSANDRA Database DESIGNED TO HANDLE LARGE AMOUNT OF DATA SPLIT OUT ACROSS MANY SERVERS THE FUNCTION OF THE POWER OF FACEBOOK INBOX SEARCH AND PROVIDES A STRUCTURE OF KEY-VALUE STORE WITH EVENTUAL CONSISTENCY
  • 33. Architecture Cassandra API Tools Storage Layer Partitioner Replicator Failure detector Cluster Membership Messaging Layer
  • 35. MARKETING Why is important for businesses? A RECENT STUDY BY UNIVERSITY OF FLORIDA ON UNDERGRADUATE AND GRADUATE STUDENTS IS INFORMATIVE AS IT REVEALS THE PREFERENCES OF YOUNG PEOPLE ON FACEBOOK THE RESULTS SHOWED THAT MOST ARE OKAY WITH BUSINESS PAGE BUT FEEL ANNOYED BY STRAIGHT ADVERTISEMENTS COMPANIES SHOULD PUT MORE EFFORT ON THEIR FACEBOOK PAGE INSTEAD OF SPENDING A LOT OF MONEY ON ADVERTISEMENTS GREAT SPACE TO KEEP CUSTOMERS INFORMED DEVELOP BRAND IDENTITY BROADEN YOUR REACH FACEBOOK IS A TWO WAY COMMUNICATION
  • 36. THEY HELP US KNOW WHO YOU ARE SO WE CAN SHOW CONTENT THAT’S MOST RELEVANT TO YOU, INCLUDING FEATURES, PRODUCTS, AND ADS THEY WORK WITH FACEBOOK FEATURES AND HELP US IMPROVE OUR PRODUCTS AND SERVICES, SO YOU CAN DO THINGS LIKE SEE WHICH FRIENDS ARE ONLINE IN CHAT, USE SHARE BUTTONS, AND UPLOAD PHOTOS THEY HELP SECURE FACEBOOK BY LETTING US KNOW IF SOMEONE TRIES TO ACCESS YOUR ACCOUNT OR ENGAGES IN ACTIVITY THAT VIOLATES OUR TERMS COOKIES How they use them? SHOW WHAT MATTERS TO YOU IMPROVE YOUR EXPERIENCE PROTECTION AND SECURITY
  • 37. Facebook changed the algorithm so that the advertising will look like this… And NOT like this… ALGORITHM
  • 38. Technique for increasing likes or driving website clicks CLASSIC ADS
  • 39. CONTESTS MARKETING TACTIC THAT CAN INCREASE FANS AND BRAND AWARENESS. BUSINESSES MUST USE A THIRD-PARTY APP FOR CREATING THEIR FACEBOOK CONTEST, THEN DIRECT USERS TO THE APP FROM THEIR FACEBOOK PAGE.
  • 40. PROMOTED POSTS PAGE OWNERS PAY A FLAT RATE IN ORDER TO HAVE A SINGLE POST REACH A CERTAIN NUMBER OF USERS, INCREASING A SPECIFIC POST’S REACH AND IMPRESSIONS
  • 41. SPONSORED STORIES FACEBOOK CLAIMS THAT SPONSORED STORIES HAVE 46% HIGHER CTRS AND 20% LOWER CPCS THAN REGULAR FACEBOOK ADS, MAKING THEM A VERY SERIOUS STRATEGY FOR MARKETING ON FACEBOOK FACEBOOK AD THAT SHOWS A USER’S INTERACTIONS TO THE USER’S FRIENDS FACEBOOK SPONSORED STORIES CAN BE CREATED EASILY THROUGH THE FACEBOOK AD CREATE FLOW SEEKS TO CAPITALIZE ON THE “WORD OF MOUTH” CONCEPT
  • 42. FACEBOOK EXCHANGE AD RETARGETING ON FACEBOOK THROUGH REAL-TIME BIDDING ADVERTISERS CAN TARGET AUDIENCES BASED ON WEB HISTORY DATA
  • 43. FIRST PARTY COOKIE DATA FROM A BRAND’S OWN WEBSITE DSP/ATD PARTNERS AS WELL AS THIRD PARTY COOKIE DATA FROM OTHER SOURCES TO TARGET USERS ON FACEBOOK BASED ON THEIR PREVIOUS WEB ACTIVITY 1 2 3
  • 44. OPEN GRAPH BUSINESSES CAN LABEL A USER’S ACTION WITH THEIR APP BUSINESSES CAN CREATE THIRD- PARTY APPS THAT CONNECT TO A USER AND POST A NOTICE ON FACEBOOK WHEN A USER PERFORMS A SPECIFIC ACTION WITH THE APP ALLOWS FOR CREATIVE INTERACTIVE OPTIONS OUTSIDE OF THE STANDARD “LIKE” AND “COMMENT”
  • 46. THANK YOU VALERIA DI PERSIO CRISTINA MUÑOZ THE TEAM