SlideShare uma empresa Scribd logo
1 de 29
Baixar para ler offline
P I N T R A C E
D I S T R I B U T E D T R A C I N G @ P I N T E R E S T
S U M A N K A R U M U R I
A B O U T M E
• Passionate about distributed tracing, monitoring and
cloud infrastructure.
• Lead on Visibility team at Pinterest.
• Lead for Zipkin project at Twitter (briefly).
• Author of “Distributed tracing” (upcoming) from
O’Reilly.
• Ex-(Twitter, Facebook, Amazon, Yahoo, Goldman Sachs).
M O T I VAT I O N
SPEED
IMPROVES
ENGAGEMENT
M I C R O - S E R V I C E S B R O K E O U R T O O L S
HOW DID THIS REQUEST EXECUTE?
A G G R E G AT E E V E N T S P E R S E R V I C E
U N D E R S TA N D T R E N D S A N D A L E R T S
C H E A P
S E R V I C E L E V E L O V E R V I E W
N O P E R R E Q U E S T O V E R V I E W
M E T R I C S
R E C O R D D I S C R E T E E V E N T S
M A N U A L C O R R E L AT I O N
E X P E N S I V E
F L E X I B L E B U T V E RY B R I T T L E
L O G S
P R O J E C T P R E S T I G E
P I N P O I N T
M A N U A L T R A C I N G
R E C O R D E V E N T S I N A R E Q U E S T W I T H C A U S A L
O R D E R I N G
What is Distributed Tracing?
S T R U C T U R E D L O G G I N G O N S T E R O I D S
A N N O TAT I O N , S PA N , T R A C E
What is Distributed Tracing?
T R A C E R E Q U E S T S : R E C O R D E V E N T S I N
A R E Q U E S T W I T H C A U S A L O R D E R I N G .
A C R O S S M O B I L E C L I E N T S , B A C K E N D
S E R V I C E S A N D D ATA B A S E S
Z I P K I N B A S E D T R A C I N G S O L U T I O N
M O R E E X P E N S I V E
P I N T R A C E
B U I L D I N G P I N T R A C E : 5 C H A L L E N G E S
B U I L D I N S T R U M E N TAT I O N
C H A L L E N G E 1
HARD & TEDIOUS
O N E I N S T R U M E N TAT I O N S P E R ( L A N G U A G E ,
F R A M E W O R K , T H R E A D P O O L , P R O T O C O L )
C O M B I N AT I O N .
O P E N T R A C I N G P Y T H O N T R A C E R , F I N A G L E Z I P K I N
T R A C E R
S PA N R E P O R T A N D A G G R E G AT I O N
C H A L L E N G E 2
First company wide span aggregation pipeline.
D E P L O Y I N S T R U M E N TAT I O N
C H A L L E N G E 3
3 instrumentations.
100+ services
40 teams
Sampling <1% traffic
T R A C E P R O C E S S I N G A N D S T O R A G E
C H A L L E N G E 4
Open sourced our streaming pipeline:
github.com/openzipkin/zipkin-sparkstreaming
T R A C E V I S U A L I Z AT I O N
C H A L L E N G E 5
Pintrace architecture
T R A C E S A R E D ATA
Z I P K I N U I
A P P L I C AT I O N S O F T R A C E D ATA
U N D E R S TA N D , D E B U G A N D T U N E D I S T R I B U T E D S Y S T E M S .
I D E N T I F Y I N G S E R V I C E S I N T E R A C T I N G
W I T H A R E Q U E S T
U N D E R S TA N D R E Q U E S T T I M E L I N E
I D E N T I F Y I N G D U P L I C AT E
C O M P U TAT I O N
U N D E R S TA N D R E Q U E S T T I M E L I N E
5% latency (20ms improvement) while halving the load
W H I C H C L U S T E R S E R V E D T H I S
R E Q U E S T ?
D E B U G D I S T R I B U T E D S Y S T E M
C U S T O M A P P L I C AT I O N S PA N S
D E B U G D I S T R I B U T E D S Y S T E M
I D E N T I F Y C L O C K S K E W
D E B U G D I S T R I B U T E D S Y S T E M
Clock skew is very common in cloud environment.
Easily identified in a trace.
Zipkin UI corrects for clock skew.
I D E N T I F Y I N G S E R I A L E X E C U T I O N
T U N E D I S T R I B U T E D S Y S T E M
Step pattern in a trace signifies serial execution
Parallel get_many after the bug fix.
M O R E A P P L I C AT I O N S O F T R A C E D ATA
• Tracking down p99 latencies.
• Identify architectural optimizations.
• Latency pipeline.
• Service dependency analysis.
• Improve time to triage.
• Automated root cause analysis.
L E S S O N S L E A R N E D
• User awareness and education are very important to
make tracing successful.
• Begin with the end in mind.
• Trace most valuable paths in the application.
• Distributed tracing landscape is confusing.
• Quality of traces is more important than quantity.
Q U E S T I O N S ?
https://tinyurl.com/pintrace-architecture
https://tinyurl.com/pintrace-applications
skarumuri@pinterest.com
twitter: @mansu

Mais conteúdo relacionado

Mais procurados

How to Optimize your Professional Network by Mikus Kins
How to Optimize your Professional Network by Mikus KinsHow to Optimize your Professional Network by Mikus Kins
How to Optimize your Professional Network by Mikus KinsMikus Kins
 
Web Development for Managers
Web Development for ManagersWeb Development for Managers
Web Development for ManagersRandy Connolly
 
Reimagining Retail by @JohnBatistich
Reimagining Retail by @JohnBatistichReimagining Retail by @JohnBatistich
Reimagining Retail by @JohnBatistichjbatistich
 
Preparing for CRM
Preparing for CRMPreparing for CRM
Preparing for CRMQGate
 
A Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity ModelsA Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity ModelsData Crossroads
 
A Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity ModelsA Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity ModelsData Crossroads
 
#TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi...
 #TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi... #TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi...
#TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi...HubSpot
 
Project Management & Innovation
Project Management & InnovationProject Management & Innovation
Project Management & Innovationmade4gov
 
Bringing Learning Innovation to Life
Bringing Learning Innovation to LifeBringing Learning Innovation to Life
Bringing Learning Innovation to LifeHuman Capital Media
 
John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...
John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...
John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...Julia Grosman
 
5 Reasons A Cloud-Based Phone Saves You Money
5 Reasons A Cloud-Based Phone Saves You Money5 Reasons A Cloud-Based Phone Saves You Money
5 Reasons A Cloud-Based Phone Saves You MoneyTresta
 
Online video Landscape
Online video LandscapeOnline video Landscape
Online video LandscapeQuid Inc.
 
TLN presentatie 4 juni 2015
TLN presentatie 4 juni 2015TLN presentatie 4 juni 2015
TLN presentatie 4 juni 2015Mirror Wise
 
The Unicorn Leaps into Tech Talk
The Unicorn Leaps into Tech TalkThe Unicorn Leaps into Tech Talk
The Unicorn Leaps into Tech TalkQuid Inc.
 

Mais procurados (20)

How to Optimize your Professional Network by Mikus Kins
How to Optimize your Professional Network by Mikus KinsHow to Optimize your Professional Network by Mikus Kins
How to Optimize your Professional Network by Mikus Kins
 
Web Development for Managers
Web Development for ManagersWeb Development for Managers
Web Development for Managers
 
Reimagining Retail by @JohnBatistich
Reimagining Retail by @JohnBatistichReimagining Retail by @JohnBatistich
Reimagining Retail by @JohnBatistich
 
Preparing for CRM
Preparing for CRMPreparing for CRM
Preparing for CRM
 
Manejo de redes
Manejo de redesManejo de redes
Manejo de redes
 
DPU SUMMER LAB PROPOSAL GROUP A
DPU SUMMER LAB PROPOSAL GROUP ADPU SUMMER LAB PROPOSAL GROUP A
DPU SUMMER LAB PROPOSAL GROUP A
 
A Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity ModelsA Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity Models
 
A Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity ModelsA Comparative Study of Data Management Maturity Models
A Comparative Study of Data Management Maturity Models
 
#TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi...
 #TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi... #TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi...
#TweetSmarter Webinar 2.0: Learn from the Experts How to Drive More Conversi...
 
Project Management & Innovation
Project Management & InnovationProject Management & Innovation
Project Management & Innovation
 
Bringing Learning Innovation to Life
Bringing Learning Innovation to LifeBringing Learning Innovation to Life
Bringing Learning Innovation to Life
 
StoreMotion Company Profile
StoreMotion Company ProfileStoreMotion Company Profile
StoreMotion Company Profile
 
John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...
John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...
John Stauffer - Closing the Empathy Gap: Six Ways to Develop Better Consumer ...
 
5 Reasons A Cloud-Based Phone Saves You Money
5 Reasons A Cloud-Based Phone Saves You Money5 Reasons A Cloud-Based Phone Saves You Money
5 Reasons A Cloud-Based Phone Saves You Money
 
Online video Landscape
Online video LandscapeOnline video Landscape
Online video Landscape
 
TLN presentatie 4 juni 2015
TLN presentatie 4 juni 2015TLN presentatie 4 juni 2015
TLN presentatie 4 juni 2015
 
The Unicorn Leaps into Tech Talk
The Unicorn Leaps into Tech TalkThe Unicorn Leaps into Tech Talk
The Unicorn Leaps into Tech Talk
 
What is Student Centered Coaching?
What is Student Centered Coaching?What is Student Centered Coaching?
What is Student Centered Coaching?
 
Interactive and Transmedia Storytelling [Day 1]
Interactive and Transmedia Storytelling [Day 1]Interactive and Transmedia Storytelling [Day 1]
Interactive and Transmedia Storytelling [Day 1]
 
Purposeful Brands
Purposeful BrandsPurposeful Brands
Purposeful Brands
 

Semelhante a Pintrace: Distributed tracing@Pinterest

Pintrace: Distributed tracing @Pinterest
Pintrace: Distributed tracing @PinterestPintrace: Distributed tracing @Pinterest
Pintrace: Distributed tracing @PinterestSuman Karumuri
 
AWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 MelbourneAWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 MelbourneAmazon Web Services
 
AWS Seminar Series 2015 Brisbane
AWS Seminar Series 2015 BrisbaneAWS Seminar Series 2015 Brisbane
AWS Seminar Series 2015 BrisbaneAmazon Web Services
 
Agile Workshop for Teams
Agile Workshop for TeamsAgile Workshop for Teams
Agile Workshop for TeamsTroyAnderson54
 
Gain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS Summit
Gain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS SummitGain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS Summit
Gain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS SummitAmazon Web Services
 
Rosa Cano_openexpo2018_sin_texto
Rosa Cano_openexpo2018_sin_textoRosa Cano_openexpo2018_sin_texto
Rosa Cano_openexpo2018_sin_textoRosa Cano
 
Construir productos y transformación digital mezclando tecnología y educación...
Construir productos y transformación digital mezclando tecnología y educación...Construir productos y transformación digital mezclando tecnología y educación...
Construir productos y transformación digital mezclando tecnología y educación...Rosa Cano
 
Gain Maximum Visibility - DEM06 - Anaheim AWS Summit
Gain Maximum Visibility - DEM06 - Anaheim AWS SummitGain Maximum Visibility - DEM06 - Anaheim AWS Summit
Gain Maximum Visibility - DEM06 - Anaheim AWS SummitAmazon Web Services
 
Gain Maximum Visibility into Your Applications - DEM03 - Chicago AWS Summit
Gain Maximum Visibility into Your Applications - DEM03 - Chicago AWS SummitGain Maximum Visibility into Your Applications - DEM03 - Chicago AWS Summit
Gain Maximum Visibility into Your Applications - DEM03 - Chicago AWS SummitAmazon Web Services
 
Switching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileSwitching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileDoc Norton
 
Touch Drive - A touch-based multi-function controller for autonomous driving
Touch Drive - A touch-based multi-function controller for autonomous drivingTouch Drive - A touch-based multi-function controller for autonomous driving
Touch Drive - A touch-based multi-function controller for autonomous drivingJuntima Nawilaijaroen
 

Semelhante a Pintrace: Distributed tracing@Pinterest (20)

Pintrace: Distributed tracing @Pinterest
Pintrace: Distributed tracing @PinterestPintrace: Distributed tracing @Pinterest
Pintrace: Distributed tracing @Pinterest
 
AWS SEMINAR SERIES 2015 Perth
AWS SEMINAR SERIES 2015 PerthAWS SEMINAR SERIES 2015 Perth
AWS SEMINAR SERIES 2015 Perth
 
The Digital Transformation: A New World Order
The Digital Transformation: A New World OrderThe Digital Transformation: A New World Order
The Digital Transformation: A New World Order
 
AWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 MelbourneAWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 Melbourne
 
Auckland AWS Seminar Series
Auckland AWS Seminar SeriesAuckland AWS Seminar Series
Auckland AWS Seminar Series
 
AWS SeMINAR SERIES 2015 Sydney
AWS SeMINAR SERIES 2015 SydneyAWS SeMINAR SERIES 2015 Sydney
AWS SeMINAR SERIES 2015 Sydney
 
AWS Seminar Series 2015 Brisbane
AWS Seminar Series 2015 BrisbaneAWS Seminar Series 2015 Brisbane
AWS Seminar Series 2015 Brisbane
 
Agile Workshop for Teams
Agile Workshop for TeamsAgile Workshop for Teams
Agile Workshop for Teams
 
AUA Data Science Meetup
AUA Data Science MeetupAUA Data Science Meetup
AUA Data Science Meetup
 
eHarmony @ Phoenix Con 2016
eHarmony @ Phoenix Con 2016eHarmony @ Phoenix Con 2016
eHarmony @ Phoenix Con 2016
 
A ChatGPT Content Creation Master Class - Leah Faul, 15000 Cubits
A ChatGPT Content Creation Master Class - Leah Faul, 15000 CubitsA ChatGPT Content Creation Master Class - Leah Faul, 15000 Cubits
A ChatGPT Content Creation Master Class - Leah Faul, 15000 Cubits
 
Gain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS Summit
Gain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS SummitGain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS Summit
Gain Maximum Visibility into Your Applications - DEM04 - Atlanta AWS Summit
 
Rosa Cano_openexpo2018_sin_texto
Rosa Cano_openexpo2018_sin_textoRosa Cano_openexpo2018_sin_texto
Rosa Cano_openexpo2018_sin_texto
 
Construir productos y transformación digital mezclando tecnología y educación...
Construir productos y transformación digital mezclando tecnología y educación...Construir productos y transformación digital mezclando tecnología y educación...
Construir productos y transformación digital mezclando tecnología y educación...
 
Gain Maximum Visibility - DEM06 - Anaheim AWS Summit
Gain Maximum Visibility - DEM06 - Anaheim AWS SummitGain Maximum Visibility - DEM06 - Anaheim AWS Summit
Gain Maximum Visibility - DEM06 - Anaheim AWS Summit
 
Gain Maximum Visibility into Your Applications - DEM03 - Chicago AWS Summit
Gain Maximum Visibility into Your Applications - DEM03 - Chicago AWS SummitGain Maximum Visibility into Your Applications - DEM03 - Chicago AWS Summit
Gain Maximum Visibility into Your Applications - DEM03 - Chicago AWS Summit
 
Switching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileSwitching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to Agile
 
Touch Drive - A touch-based multi-function controller for autonomous driving
Touch Drive - A touch-based multi-function controller for autonomous drivingTouch Drive - A touch-based multi-function controller for autonomous driving
Touch Drive - A touch-based multi-function controller for autonomous driving
 
FSLSO QTR
FSLSO QTRFSLSO QTR
FSLSO QTR
 
Apresentacao ICPM
Apresentacao  ICPMApresentacao  ICPM
Apresentacao ICPM
 

Mais de Suman Karumuri

Mais de Suman Karumuri (9)

Monorepo at Pinterest
Monorepo at PinterestMonorepo at Pinterest
Monorepo at Pinterest
 
PinTrace Advanced AWS meetup
PinTrace Advanced AWS meetup PinTrace Advanced AWS meetup
PinTrace Advanced AWS meetup
 
Phobos
PhobosPhobos
Phobos
 
Gpu Join Presentation
Gpu Join PresentationGpu Join Presentation
Gpu Join Presentation
 
Dream Language!
Dream Language!Dream Language!
Dream Language!
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Practical Byzantine Fault Tolerance
Practical Byzantine Fault TolerancePractical Byzantine Fault Tolerance
Practical Byzantine Fault Tolerance
 
bluespec talk
bluespec talkbluespec talk
bluespec talk
 
GFS
GFSGFS
GFS
 

Último

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 

Último (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 

Pintrace: Distributed tracing@Pinterest

  • 1. P I N T R A C E D I S T R I B U T E D T R A C I N G @ P I N T E R E S T S U M A N K A R U M U R I
  • 2. A B O U T M E • Passionate about distributed tracing, monitoring and cloud infrastructure. • Lead on Visibility team at Pinterest. • Lead for Zipkin project at Twitter (briefly). • Author of “Distributed tracing” (upcoming) from O’Reilly. • Ex-(Twitter, Facebook, Amazon, Yahoo, Goldman Sachs).
  • 3. M O T I VAT I O N
  • 5. M I C R O - S E R V I C E S B R O K E O U R T O O L S HOW DID THIS REQUEST EXECUTE?
  • 6. A G G R E G AT E E V E N T S P E R S E R V I C E U N D E R S TA N D T R E N D S A N D A L E R T S C H E A P S E R V I C E L E V E L O V E R V I E W N O P E R R E Q U E S T O V E R V I E W M E T R I C S
  • 7. R E C O R D D I S C R E T E E V E N T S M A N U A L C O R R E L AT I O N E X P E N S I V E F L E X I B L E B U T V E RY B R I T T L E L O G S
  • 8. P R O J E C T P R E S T I G E P I N P O I N T M A N U A L T R A C I N G
  • 9. R E C O R D E V E N T S I N A R E Q U E S T W I T H C A U S A L O R D E R I N G What is Distributed Tracing?
  • 10. S T R U C T U R E D L O G G I N G O N S T E R O I D S A N N O TAT I O N , S PA N , T R A C E What is Distributed Tracing?
  • 11. T R A C E R E Q U E S T S : R E C O R D E V E N T S I N A R E Q U E S T W I T H C A U S A L O R D E R I N G . A C R O S S M O B I L E C L I E N T S , B A C K E N D S E R V I C E S A N D D ATA B A S E S Z I P K I N B A S E D T R A C I N G S O L U T I O N M O R E E X P E N S I V E P I N T R A C E
  • 12. B U I L D I N G P I N T R A C E : 5 C H A L L E N G E S
  • 13. B U I L D I N S T R U M E N TAT I O N C H A L L E N G E 1 HARD & TEDIOUS O N E I N S T R U M E N TAT I O N S P E R ( L A N G U A G E , F R A M E W O R K , T H R E A D P O O L , P R O T O C O L ) C O M B I N AT I O N . O P E N T R A C I N G P Y T H O N T R A C E R , F I N A G L E Z I P K I N T R A C E R
  • 14. S PA N R E P O R T A N D A G G R E G AT I O N C H A L L E N G E 2 First company wide span aggregation pipeline.
  • 15. D E P L O Y I N S T R U M E N TAT I O N C H A L L E N G E 3 3 instrumentations. 100+ services 40 teams Sampling <1% traffic
  • 16. T R A C E P R O C E S S I N G A N D S T O R A G E C H A L L E N G E 4 Open sourced our streaming pipeline: github.com/openzipkin/zipkin-sparkstreaming
  • 17. T R A C E V I S U A L I Z AT I O N C H A L L E N G E 5 Pintrace architecture
  • 18. T R A C E S A R E D ATA Z I P K I N U I
  • 19. A P P L I C AT I O N S O F T R A C E D ATA U N D E R S TA N D , D E B U G A N D T U N E D I S T R I B U T E D S Y S T E M S .
  • 20. I D E N T I F Y I N G S E R V I C E S I N T E R A C T I N G W I T H A R E Q U E S T U N D E R S TA N D R E Q U E S T T I M E L I N E
  • 21. I D E N T I F Y I N G D U P L I C AT E C O M P U TAT I O N U N D E R S TA N D R E Q U E S T T I M E L I N E 5% latency (20ms improvement) while halving the load
  • 22. W H I C H C L U S T E R S E R V E D T H I S R E Q U E S T ? D E B U G D I S T R I B U T E D S Y S T E M
  • 23. C U S T O M A P P L I C AT I O N S PA N S D E B U G D I S T R I B U T E D S Y S T E M
  • 24. I D E N T I F Y C L O C K S K E W D E B U G D I S T R I B U T E D S Y S T E M Clock skew is very common in cloud environment. Easily identified in a trace. Zipkin UI corrects for clock skew.
  • 25. I D E N T I F Y I N G S E R I A L E X E C U T I O N T U N E D I S T R I B U T E D S Y S T E M Step pattern in a trace signifies serial execution Parallel get_many after the bug fix.
  • 26. M O R E A P P L I C AT I O N S O F T R A C E D ATA • Tracking down p99 latencies. • Identify architectural optimizations. • Latency pipeline. • Service dependency analysis. • Improve time to triage. • Automated root cause analysis.
  • 27. L E S S O N S L E A R N E D • User awareness and education are very important to make tracing successful. • Begin with the end in mind. • Trace most valuable paths in the application. • Distributed tracing landscape is confusing. • Quality of traces is more important than quantity.
  • 28.
  • 29. Q U E S T I O N S ? https://tinyurl.com/pintrace-architecture https://tinyurl.com/pintrace-applications skarumuri@pinterest.com twitter: @mansu