SlideShare a Scribd company logo
1 of 24
Download to read offline
Real Time Traffic
Visualization with
Vizceral and Hystrix
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Who am I?
Roberto Perez Alcolea
• Mexican
• RedSky Team @ Target
• Groovy Enthusiast
• roberto@perezalcolea.info
• @rpalcolea
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Traffic
VisualizationRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix + Turbine + Vizceral
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix
Library to help control interactions between distributed services
• Times out slow commands
• Rate limit number of concurrent commands
• Circuit breaker
• Fallback on failures
• Real-Time dashboard for visibility
• Measurements
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix
...
private static final HystrixObservableCommand.Setter hystrixSetter = HystrixObservableCommand.Setter
.withGroupKey(HystrixCommandGroupKey.Factory.asKey("github-service"))
.andCommandKey(HystrixCommandKey.Factory.asKey("GithubService.getRepositories"))
.andCommandPropertiesDefaults(HystrixCommandProperties.defaultSetter())
...
Observable<Map> call(String language) {
return new HystrixObservableCommand<Map>(hystrixSetter) {
@Override
protected Observable<Map> construct() {
return getRepositories(language)
}
@Override
protected Observable<Map> resumeWithFallback() {
return Observable.just([:])
}
}.toObservable()
}
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix
...
private static final HystrixObservableCommand.Setter hystrixSetter = HystrixObservableCommand.Setter
.withGroupKey(HystrixCommandGroupKey.Factory.asKey("github-service"))
.andCommandKey(HystrixCommandKey.Factory.asKey("GithubService.getRepositories"))
.andCommandPropertiesDefaults(HystrixCommandProperties.defaultSetter())
...
Observable<Map> call(String language) {
return new HystrixObservableCommand<Map>(hystrixSetter) {
@Override
protected Observable<Map> construct() {
return getRepositories(language)
}
@Override
protected Observable<Map> resumeWithFallback() {
return Observable.just([:])
}
}.toObservable()
}
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix Flow
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Isolation
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix Command Metrics
{
"type": "HystrixCommand",
"name": "GithubService.findRepositories",
"group": "github-api",
"currentTime": 1498355684319,
"isCircuitBreakerOpen": false,
"errorPercentage": 0,
"errorCount": 0,
"requestCount": 1,
"rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0,
"rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0,
"rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1,
"rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0,
"currentConcurrentExecutionCount": 0,
"rollingMaxConcurrentExecutionCount": 1,
"latencyExecute_mean": 0,
"latencyExecute": {
"99": 0,
},
"latencyTotal_mean": 0,
"latencyTotal": {
"99": 0,
},
}
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix Command Metrics
{
"type": "HystrixCommand",
"name": "GithubService.findRepositories",
"group": "github-api",
"currentTime": 1498355684319,
"isCircuitBreakerOpen": false,
"errorPercentage": 0,
"errorCount": 0,
"requestCount": 1,
"rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0,
"rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0,
"rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1,
"rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0,
"currentConcurrentExecutionCount": 0,
"rollingMaxConcurrentExecutionCount": 1,
"latencyExecute_mean": 0,
"latencyExecute": {
"99": 0,
},
"latencyTotal_mean": 0,
"latencyTotal": {
"99": 0,
},
}
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix Command Metrics
{
"type": "HystrixCommand",
"name": "GithubService.findRepositories",
"group": "github-api",
"currentTime": 1498355684319,
"isCircuitBreakerOpen": false,
"errorPercentage": 0,
"errorCount": 0,
"requestCount": 1,
"rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0,
"rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0,
"rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1,
"rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0,
"currentConcurrentExecutionCount": 0,
"rollingMaxConcurrentExecutionCount": 1,
"latencyExecute_mean": 0,
"latencyExecute": {
"99": 0,
},
"latencyTotal_mean": 0,
"latencyTotal": {
"99": 0,
},
}
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix Command Metrics
{
"type": "HystrixCommand",
"name": "GithubService.findRepositories",
"group": "github-api",
"currentTime": 1498355684319,
"isCircuitBreakerOpen": false,
"errorPercentage": 0,
"errorCount": 0,
"requestCount": 1,
"rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0,
"rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0,
"rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1,
"rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0,
"currentConcurrentExecutionCount": 0,
"rollingMaxConcurrentExecutionCount": 1,
"latencyExecute_mean": 0,
"latencyExecute": {
"99": 0,
},
"latencyTotal_mean": 0,
"latencyTotal": {
"99": 0,
},
}
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix
DemoRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Hystrix Dashboard
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Turbine
• Aggregates streams of Server-Sent Event (SSE) JSON data into a
single stream
• Clusters
• Instance discovery
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Turbine (How it works)
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Vizceral
Vizceral is a tool from Netflix to visualize traffic between components
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Putting All Together
DemoRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
Thank
YouRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017

More Related Content

Recently uploaded

DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 

Recently uploaded (20)

DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

GR8ConfUS 2017 - Real Time Traffic Visualization with Vizceral and Hystrix

  • 1. Real Time Traffic Visualization with Vizceral and Hystrix Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 2. Who am I? Roberto Perez Alcolea • Mexican • RedSky Team @ Target • Groovy Enthusiast • roberto@perezalcolea.info • @rpalcolea Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 3. Traffic VisualizationRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 4. Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 5. Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 6. Hystrix + Turbine + Vizceral Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 7. Hystrix Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 8. Hystrix Library to help control interactions between distributed services • Times out slow commands • Rate limit number of concurrent commands • Circuit breaker • Fallback on failures • Real-Time dashboard for visibility • Measurements Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 9. Hystrix ... private static final HystrixObservableCommand.Setter hystrixSetter = HystrixObservableCommand.Setter .withGroupKey(HystrixCommandGroupKey.Factory.asKey("github-service")) .andCommandKey(HystrixCommandKey.Factory.asKey("GithubService.getRepositories")) .andCommandPropertiesDefaults(HystrixCommandProperties.defaultSetter()) ... Observable<Map> call(String language) { return new HystrixObservableCommand<Map>(hystrixSetter) { @Override protected Observable<Map> construct() { return getRepositories(language) } @Override protected Observable<Map> resumeWithFallback() { return Observable.just([:]) } }.toObservable() } Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 10. Hystrix ... private static final HystrixObservableCommand.Setter hystrixSetter = HystrixObservableCommand.Setter .withGroupKey(HystrixCommandGroupKey.Factory.asKey("github-service")) .andCommandKey(HystrixCommandKey.Factory.asKey("GithubService.getRepositories")) .andCommandPropertiesDefaults(HystrixCommandProperties.defaultSetter()) ... Observable<Map> call(String language) { return new HystrixObservableCommand<Map>(hystrixSetter) { @Override protected Observable<Map> construct() { return getRepositories(language) } @Override protected Observable<Map> resumeWithFallback() { return Observable.just([:]) } }.toObservable() } Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 11. Hystrix Flow Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 12. Isolation Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 13. Hystrix Command Metrics { "type": "HystrixCommand", "name": "GithubService.findRepositories", "group": "github-api", "currentTime": 1498355684319, "isCircuitBreakerOpen": false, "errorPercentage": 0, "errorCount": 0, "requestCount": 1, "rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0, "rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0, "rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1, "rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0, "currentConcurrentExecutionCount": 0, "rollingMaxConcurrentExecutionCount": 1, "latencyExecute_mean": 0, "latencyExecute": { "99": 0, }, "latencyTotal_mean": 0, "latencyTotal": { "99": 0, }, } Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 14. Hystrix Command Metrics { "type": "HystrixCommand", "name": "GithubService.findRepositories", "group": "github-api", "currentTime": 1498355684319, "isCircuitBreakerOpen": false, "errorPercentage": 0, "errorCount": 0, "requestCount": 1, "rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0, "rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0, "rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1, "rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0, "currentConcurrentExecutionCount": 0, "rollingMaxConcurrentExecutionCount": 1, "latencyExecute_mean": 0, "latencyExecute": { "99": 0, }, "latencyTotal_mean": 0, "latencyTotal": { "99": 0, }, } Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 15. Hystrix Command Metrics { "type": "HystrixCommand", "name": "GithubService.findRepositories", "group": "github-api", "currentTime": 1498355684319, "isCircuitBreakerOpen": false, "errorPercentage": 0, "errorCount": 0, "requestCount": 1, "rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0, "rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0, "rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1, "rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0, "currentConcurrentExecutionCount": 0, "rollingMaxConcurrentExecutionCount": 1, "latencyExecute_mean": 0, "latencyExecute": { "99": 0, }, "latencyTotal_mean": 0, "latencyTotal": { "99": 0, }, } Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 16. Hystrix Command Metrics { "type": "HystrixCommand", "name": "GithubService.findRepositories", "group": "github-api", "currentTime": 1498355684319, "isCircuitBreakerOpen": false, "errorPercentage": 0, "errorCount": 0, "requestCount": 1, "rollingCountBadRequests": 0, "rollingCountCollapsedRequests": 0, "rollingCountEmit": 1, "rollingCountExceptionsThrown": 0, "rollingCountFailure": 0, "rollingCountFallbackFailure": 0, "rollingCountFallbackRejection": 0, "rollingCountFallbackSuccess": 0, "rollingCountResponsesFromCache": 0, "rollingCountSemaphoreRejected": 0, "rollingCountShortCircuited": 0, "rollingCountSuccess": 1, "rollingCountThreadPoolRejected": 0, "rollingCountTimeout": 0, "currentConcurrentExecutionCount": 0, "rollingMaxConcurrentExecutionCount": 1, "latencyExecute_mean": 0, "latencyExecute": { "99": 0, }, "latencyTotal_mean": 0, "latencyTotal": { "99": 0, }, } Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 17. Hystrix DemoRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 18. Hystrix Dashboard Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 19. Turbine • Aggregates streams of Server-Sent Event (SSE) JSON data into a single stream • Clusters • Instance discovery Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 20. Turbine (How it works) Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 21. Vizceral Vizceral is a tool from Netflix to visualize traffic between components Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 22. Putting All Together DemoRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 23. Roberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017
  • 24. Thank YouRoberto Perez Alcolea - @rpalcolea - GR8ConfUS 2017