SlideShare a Scribd company logo
Data Infrastructure at Linkedin
Jun Rao and Sam Shah
LinkedIn Confidential ©2013 All Rights Reserved
Outline
LinkedIn Confidential ©2013 All Rights Reserved 2
1. LinkedIn introduction
2. Online/nearline infrastructure overview
3. Infrastructure for data mining
4. Conclusion
The World‟s Largest Professional Network
Members Worldwide
2 new
Members Per Second
100M+
Monthly Unique Visitors
200M+ 2M+
Company Pages
Connecting Talent  Opportunity. At scale…
LinkedIn Confidential ©2013 All Rights Reserved 3
4
Member Profiles
Large dataset
Medium writes
Very high reads
Freshness <1s
People You May Know
5
Large dataset
Compute intensive
High reads
Freshness ~hrs
LinkedIn Today
6
Moving dataset
High writes
High reads
Freshness ~mins
The Big-Data Feedback Loop
LinkedIn Confidential ©2013 All Rights Reserved 7
Value 
Insights 
Scale 
Product
ScienceData
Member
Engagement 
Virality 
Signals 
Refinement 
Infrastructure
Analytics 
LinkedIn Data Infrastructure: Three-Phase Abstraction
LinkedIn Confidential ©2013 All Rights Reserved 8
Users Online Data
Infra
Near-Line
Infra
Application Offline
Data Infra
Infrastructure Latency & Freshness Requirements Products
Online Activity that should be reflected immediately
• Member Profiles
• Company Profiles
• Connections
• Messages
• Endorsements
• Skills
Near-Line Activity that should be reflected soon
• Activity Streams
• Profile Standardization
• News
• Recommendations
• Search
• Messages
Offline Activity that can be reflected later
• People You May Know
• Connection Strength
• News
• Recommendations
• Next best idea…
LinkedIn Data Infrastructure: Sample Stack
9
Infra challenges in 3-phase
ecosystem are diverse,
complex and specific
Some off-the-shelf.
Significant investment in
home-grown, deep and
interesting platforms
Streaming Transactions
10
Databus : Timeline-Consistent
Change Data Capture
LinkedIn Data Infrastructure Solutions
Databus at LinkedIn
12
DB
Bootstrap
Capture
Changes
On-line
Changes
On-line
Changes
DB
Consistent
Snapshot at U
 Transport independent of data
source: Oracle, MySQL, …
 Transactional semantics
 In order, at least once delivery
 Tens of relays
 Hundreds of sources
 Low latency - milliseconds
Consumer 1
Consumer n
Client
Databus
ClientLib
Consumer 1
Consumer n
Databus
ClientLib
Client
Relay
Event Win
Scaling Core Databases
13
RO
RO
RO
Voldemort: Highly-Available
Distributed KV Store
LinkedIn Data Infrastructure Solutions
14
• Pluggable components
• Tunable consistency /
availability
• Key/value model,
server side “views”
• 10 clusters, 100+ nodes
• Largest cluster – 10K+ qps
• Avg latency: 3ms
• Hundreds of Stores
• Largest store – 2.8TB+
Voldemort: Architecture
Streaming Non-transactional Events
16
Offline
Nearline
Processing
Kafka: High-Volume Low-Latency
Messaging System
LinkedIn Data Infrastructure Solutions
17
Kafka Architecture
Producer
Consumer
Producer
Consumer
Zookeeper
topic1-part1
topic2-part2
topic2-part1
topic1-part2
topic2-part2
topic2-part1
topic1-part1 topic1-part2
topic1-part1 topic1-part2
topic2-part2
topic2-part1
Broker 1 Broker 2 Broker 3 Broker 4
Key features
• Scale-out architecture
• High throughput
• Automatic load balancing
• Intra-cluster replication
Per day stats
• writes: 10+ billion messages
• reads: 50+ billion messages
Filling in the Data Store Gap
19
Text
Search
Espresso: Indexed Timeline-Consistent
Distributed Data Store
LinkedIn Data Infrastructure Solutions
20
Application View
21
Hierarchical data model
Rich functionality on resources
 Conditional updates
 Partial updates
 Atomic counters
Rich functionality within
resource groups
 Transactions
 Secondary index
 Text search
Espresso: System Components
22
• Partitioning/replication
• Timeline consistency
• Change propagation
Generic Cluster Manager: Helix
• Generic Distributed State Model
• Config Management
• Automatic Load Balancing
• Fault tolerance
• Cluster expansion and rebalancing
• Espresso, Databus and Search
• Open Source Apr 2012
• https://github.com/linkedin/helix
23
Infrastructure challenges in
large-scale data mining
Putting it together
Top complaints from data scientists
1 Getting the data in (Ingress ETL)
2 Getting the data out (Egress)
3 Workflow management
4 Model of computation
5 …
Top complaints from data scientists
1 Getting the data in (Ingress ETL)
2 Getting the data out (Egress)
3 Workflow management
4 Model of computation
5 …
LinkedIn circa 2010
LinkedIn Confidential ©2013 All Rights Reserved 27
O(n2) data integration complexity
Infrastructure fragility
• Can‟t get all data
• Hard to operate
• Multi-hour delay
• Labor intensive
• Slow
• Does it work?
Process fragility
• Labor intensive
• One man‟s
cleaning…
FE
MT
BE
DT
FE Dev
BE Dev
ETL
Team
ETL DW/
Hadoop
Data model
{
tracking_code=null,
session_id=42,
tracking_time=Tue Jul 31 07:27:25 PDT 2010,
error_key=null,
locale=en_us,
browser_id=ddc61a81-5311-4859-be42-ca7dc7b941e3,
member_id=1213,
page_key=profile,
tracking_info=Viewee=1214,lnl=f,nd=1,o=1214,^SP=pId-
'pro_stars',rslvd=t,vs=v,vid=1214,ps=EDU|EXP|SKIL|,
error_id=null,
page_type=FULL_PAGE,
request_path=view
...
}
Data model (cont‟d)
{
article_id=5560874437395353942,
title=Five Good Reasons to Hire the Unemployed,
language=en_US,
article_source=bit.ly,
url=aHR0cDovL3d3dy5vbmV0aGluZ25ldy5jb20vaW5kZXgucGhwL3dvcmsvMTAyLWZpdmUtZ29v
ZC1yZWFzb25zLXRvLWhpcmUtdGhlLXVuZW1wbG95ZWQK,
...
}
Problems
1 Data integration across systems
2 Fragile infrastructure
3 Lack of proper data models (ad-hoc)
LinkedIn 2013
LinkedIn Confidential ©2013 All Rights Reserved 34
O(n) data integration
Publish/subscribe commit log
Data model
 Hundreds of message types
 Thousands of fields
 What do they all mean?
 What happens when they change?
Data model
1 Education
2 Push data cleanliness upstream
3 O(1) ETL
4 Evidence-based correctness
Data model
 DDL for data definition and schema
 Central versioned registry of all schemas
 Schema review
 Programmatic compatibility model
– Schema changes handled transparently
Workflow
1 Check in schema
2 Code review
3 Ship
Seamless data load into downstream systems
Audit trail
Result: complete, verified copy of all
data available
Top complaints from data scientists
1 Getting the data in (Ingress ETL)
2 Getting the data out (Egress)
3 Workflow management
4 Model of computation
5 …
Egress
store DATA into „kafka://…‟ using Stream();
Top complaints from data scientists
1 Getting the data in (Ingress ETL)
2 Getting the data out (Egress)
3 Workflow management
4 Model of computation
5 …
Workflows
46
Job A
Job B
Job C
Workflows
47
Job A
Job B
Job C
Push to Production
Workflows
48
Job A
Job B
Job C
Push to Production
Job X
Workflows
49
Job A
Job B
Job C
Push to Production
Job X
Push to QA
Real workflows are complicated
50
Workflow management: Azkaban
51
 Dependency management
 Diverse job types (Pig, Hive, Java, . . . )
 Scheduling
 Monitoring
 Configuration
 Retry/restart on failure
 Resource locking
 Log collection
 Historical information
Workflow management: Azkaban
52
Workflow management: Azkaban
53
Top complaints from data scientists
1 Getting the data in (Ingress ETL)
2 Getting the data out (Egress)
3 Workflow management
4 Model of computation
5 …
Model of computation
• Alternating Direction Method of Multipliers (ADMM)
• Distributed Conjugate Gradient Descent (DCGD)
• Distributed L-BFGS
• Bayesian Distributed Learning (BDL)
Graphs
Distributed learning
Near-line processing
LinkedIn Data Infrastructure: A few take-aways
LinkedIn Confidential ©2013 All Rights Reserved 56
1. Building infrastructure in a hyper-growth
environment is challenging.
2. Few vs Many: Balance over-specialized (agile)
vs generic efforts (leverage-able) platforms (*)
3. Balance open-source products with home-
grown platforms (**)
4. Data Model and Integration e2e are key (*)
57
Learning more
data.linkedin.com

More Related Content

PDF
Data Infrastructure at LinkedIn
PPTX
LinkedIn Infrastructure (analytics@webscale, at fb 2013)
PPT
Data Applications and Infrastructure at LinkedIn__HadoopSummit2010
PDF
Data Infrastructure at LinkedIn
PPTX
Databus - LinkedIn's Change Data Capture Pipeline
PDF
The "Big Data" Ecosystem at LinkedIn
PDF
Strata SG 2015: LinkedIn Self Serve Reporting Platform on Hadoop
PPTX
Databus: LinkedIn's Change Data Capture Pipeline SOCC 2012
Data Infrastructure at LinkedIn
LinkedIn Infrastructure (analytics@webscale, at fb 2013)
Data Applications and Infrastructure at LinkedIn__HadoopSummit2010
Data Infrastructure at LinkedIn
Databus - LinkedIn's Change Data Capture Pipeline
The "Big Data" Ecosystem at LinkedIn
Strata SG 2015: LinkedIn Self Serve Reporting Platform on Hadoop
Databus: LinkedIn's Change Data Capture Pipeline SOCC 2012

What's hot (20)

PPTX
Lambda-less Stream Processing @Scale in LinkedIn
PDF
Patterns and Anti-Patterns for Memorializing Data Science Project Artifacts
PDF
What's new in SQL on Hadoop and Beyond
PPTX
Hadoop Summit 2014: Building a Self-Service Hadoop Platform at LinkedIn with ...
PDF
All Aboard the Databus
PPTX
10 Big Data Technologies you Didn't Know About
PPTX
Hdfs 2016-hadoop-summit-dublin-v1
PPTX
Gobblin' Big Data With Ease @ QConSF 2014
PDF
Introduction to Databus
PDF
Monitoring MySQL at scale
PPTX
Data Driving Yahoo Mail Growth and Evolution with a 50 PB Hadoop Warehouse
PDF
Continuous Applications at Scale of 100 Teams with Databricks Delta and Struc...
PPTX
Querying Druid in SQL with Superset
PDF
Building Streaming Data Applications Using Apache Kafka
PPTX
MongoDB Days Germany: Data Processing with MongoDB
PPTX
Gluent Extending Enterprise Applications with Hadoop
PPTX
The Future of Apache Hadoop an Enterprise Architecture View
PDF
The Future of Hadoop by Arun Murthy, PMC Apache Hadoop & Cofounder Hortonworks
PPTX
Building Data Pipelines with Spark and StreamSets
PDF
Data Stream Processing - Concepts and Frameworks
Lambda-less Stream Processing @Scale in LinkedIn
Patterns and Anti-Patterns for Memorializing Data Science Project Artifacts
What's new in SQL on Hadoop and Beyond
Hadoop Summit 2014: Building a Self-Service Hadoop Platform at LinkedIn with ...
All Aboard the Databus
10 Big Data Technologies you Didn't Know About
Hdfs 2016-hadoop-summit-dublin-v1
Gobblin' Big Data With Ease @ QConSF 2014
Introduction to Databus
Monitoring MySQL at scale
Data Driving Yahoo Mail Growth and Evolution with a 50 PB Hadoop Warehouse
Continuous Applications at Scale of 100 Teams with Databricks Delta and Struc...
Querying Druid in SQL with Superset
Building Streaming Data Applications Using Apache Kafka
MongoDB Days Germany: Data Processing with MongoDB
Gluent Extending Enterprise Applications with Hadoop
The Future of Apache Hadoop an Enterprise Architecture View
The Future of Hadoop by Arun Murthy, PMC Apache Hadoop & Cofounder Hortonworks
Building Data Pipelines with Spark and StreamSets
Data Stream Processing - Concepts and Frameworks
Ad

Viewers also liked (16)

PPTX
LinkedIn Segmentation & Targeting Platform: A Big Data Application
PDF
Resume- William Myers FD2016.1.4
PDF
Personal branding playbook
PPTX
Using Big Data for Improved Healthcare Operations and Analytics
PDF
Unlocking the Experts
PDF
Apache Gobblin: Bridging Batch and Streaming Data Integration. Big Data Meetu...
PDF
Participatory Design: Bringing Users Into Your Process
PDF
Introduction To TensorFlow | Deep Learning Using TensorFlow | TensorFlow Tuto...
PPTX
Big data ppt
PPTX
What to Upload to SlideShare
PPTX
Making Great User Experiences, Pittsburgh Scrum MeetUp, Oct 17, 2017
PDF
Big Data Tutorial For Beginners | What Is Big Data | Big Data Tutorial | Hado...
PDF
Taming the ever-evolving Compliance Beast : Lessons learnt at LinkedIn [Strat...
PDF
What is Artificial Intelligence | Artificial Intelligence Tutorial For Beginn...
PPTX
Top 5 Deep Learning and AI Stories - October 6, 2017
PPTX
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
LinkedIn Segmentation & Targeting Platform: A Big Data Application
Resume- William Myers FD2016.1.4
Personal branding playbook
Using Big Data for Improved Healthcare Operations and Analytics
Unlocking the Experts
Apache Gobblin: Bridging Batch and Streaming Data Integration. Big Data Meetu...
Participatory Design: Bringing Users Into Your Process
Introduction To TensorFlow | Deep Learning Using TensorFlow | TensorFlow Tuto...
Big data ppt
What to Upload to SlideShare
Making Great User Experiences, Pittsburgh Scrum MeetUp, Oct 17, 2017
Big Data Tutorial For Beginners | What Is Big Data | Big Data Tutorial | Hado...
Taming the ever-evolving Compliance Beast : Lessons learnt at LinkedIn [Strat...
What is Artificial Intelligence | Artificial Intelligence Tutorial For Beginn...
Top 5 Deep Learning and AI Stories - October 6, 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
Ad

Similar to Data Infrastructure at LinkedIn (20)

PPTX
Apache Kafka and the Data Mesh | Ben Stopford and Michael Noll, Confluent
PPTX
data Artisans Product Announcement
PDF
Flink in Zalando's world of Microservices
PDF
Flink in Zalando's World of Microservices
PDF
Reintroducing the Stream Processor: A universal tool for continuous data anal...
PPTX
Webinar: Enterprise Data Management in the Era of MongoDB and Data Lakes
PPTX
MongoDB Atlas - eHarmony’s New Message Store
PPTX
MongoDB Atlas - eHarmony’s New Message Store
PDF
Big Data Processing Beyond MapReduce by Dr. Flavio Villanustre
PDF
Introducing Events and Stream Processing into Nationwide Building Society (Ro...
PDF
Stream All Things—Patterns of Modern Data Integration with Gwen Shapira
PDF
Streaming Data Analytics with ksqlDB and Superset | Robert Stolz, Preset
PDF
Data Warehouse or Data Lake, Which Do I Choose?
PPT
Data Privacy at Scale
PDF
DAMA & Denodo Webinar: Modernizing Data Architecture Using Data Virtualization
PDF
C19013010 the tutorial to build shared ai services session 2
PPTX
Ms net work-sharepoint 2013-applied architecture from the field v4
PPTX
Introducing Events and Stream Processing into Nationwide Building Society
PDF
Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog
PPTX
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFi
Apache Kafka and the Data Mesh | Ben Stopford and Michael Noll, Confluent
data Artisans Product Announcement
Flink in Zalando's world of Microservices
Flink in Zalando's World of Microservices
Reintroducing the Stream Processor: A universal tool for continuous data anal...
Webinar: Enterprise Data Management in the Era of MongoDB and Data Lakes
MongoDB Atlas - eHarmony’s New Message Store
MongoDB Atlas - eHarmony’s New Message Store
Big Data Processing Beyond MapReduce by Dr. Flavio Villanustre
Introducing Events and Stream Processing into Nationwide Building Society (Ro...
Stream All Things—Patterns of Modern Data Integration with Gwen Shapira
Streaming Data Analytics with ksqlDB and Superset | Robert Stolz, Preset
Data Warehouse or Data Lake, Which Do I Choose?
Data Privacy at Scale
DAMA & Denodo Webinar: Modernizing Data Architecture Using Data Virtualization
C19013010 the tutorial to build shared ai services session 2
Ms net work-sharepoint 2013-applied architecture from the field v4
Introducing Events and Stream Processing into Nationwide Building Society
Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog
Building the High Speed Cybersecurity Data Pipeline Using Apache NiFi

More from Amy W. Tang (8)

PDF
Building a Real-Time Data Pipeline: Apache Kafka at LinkedIn
PDF
Espresso: LinkedIn's Distributed Data Serving Platform (Talk)
PDF
Espresso: LinkedIn's Distributed Data Serving Platform (Paper)
PDF
Building Distributed Systems Using Helix
PDF
LinkedIn Graph Presentation
PDF
Voldemort on Solid State Drives
PDF
Untangling Cluster Management with Helix
PDF
A Small Overview of Big Data Products, Analytics, and Infrastructure at LinkedIn
Building a Real-Time Data Pipeline: Apache Kafka at LinkedIn
Espresso: LinkedIn's Distributed Data Serving Platform (Talk)
Espresso: LinkedIn's Distributed Data Serving Platform (Paper)
Building Distributed Systems Using Helix
LinkedIn Graph Presentation
Voldemort on Solid State Drives
Untangling Cluster Management with Helix
A Small Overview of Big Data Products, Analytics, and Infrastructure at LinkedIn

Recently uploaded (20)

PDF
Advanced IT Governance
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Electronic commerce courselecture one. Pdf
Advanced IT Governance
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Advanced methodologies resolving dimensionality complications for autism neur...
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Unlocking AI with Model Context Protocol (MCP)
The Rise and Fall of 3GPP – Time for a Sabbatical?
MYSQL Presentation for SQL database connectivity
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
CIFDAQ's Market Insight: SEC Turns Pro Crypto
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Monthly Chronicles - July 2025
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Understanding_Digital_Forensics_Presentation.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Electronic commerce courselecture one. Pdf

Data Infrastructure at LinkedIn

Editor's Notes

  • #9: Transition needs to be goodProducts =&gt; data infrastructure requirements in previous slideAll products don’t make the same latency and freshness requirements from our data infrastructureThe way we bucketize this is….News and recommendations show up in both nearline and offline
  • #40: Not part of kafka
  • #52: - Others: Oozie
  • #57: Data Integration is hard. Having sane and same metadata across systems. Have a schema which works across the 3 phases. Want a rich evolving schemas and make the conforming push as much of data cleaning to source and upstream as much as possible so near-line and off-line helpsSessionization logic is in WH which makes it hard for near-line systems to useExtensible system where changing schema in one phase does not break downstream systemsDon’t build over-specialized systems: e.g. a monitoring system for PYMK – build Azkaban