SlideShare a Scribd company logo
1 of 26
A: - MAM WYSOKI LOAD
Łukasz Filut @ Plucky Rebels
JAK ZBUDOWAĆ
METRYKI, KTÓRE
BĘDĄ PODSTAWĄ
UŻYTECZNEGO
SYSTEMU
MONITORINGU
Chwila o mnie
Agile
Technology Governance
 Strategia IT
 Projekty transformacyjne
 IT&Project Governance
 Audyty
 Architektura
lukasz@pluckyrebels.com
CASE ONE
Jak to jest liczone
Jak to jest liczone
Jak to jest liczone
Jak to jest liczone
!!!!!!!!!!!!!!!!!!
Jak to jest liczone
!!!!!!!!!!!!!!!!!!
Jaki jest cel ?
Wymiarowanie ?
Diagnostyka ?
Wykrywanie awarii ?
Jakie jest pytanie ?
Jakie jest obciążenie …?
Rozwiązania …
 ~~~2 x Liczba core (w tym HT)
 Konieczny kontekst!
Jakie jest obciążenie CPU ?
 Wykorzystanie procesora per CPU
 Kolejka procesora
 opóźnienie (latency) na kolejce CPU
Jakie jest obciążenie IO?
 iostat
 IO latency
Problem -
Niewyjaśnione przerwy w
replikacji
Kontekst:
 Duży bank w USA,
 PostgreSQL i Slony (replikacja East->West),
 Dostęp do maszyny przez technika (?!?!),
 Dostępny tylko podstawowy monitoring.
Przerwa w replikacji
Przerwa w replikacji
 Czas trwania przerwy to ok 4
godziny
 W praktyce brak innych metryk (?!)
 Sieć wskazana jako podejrzana
 Rozwiązanie potrzebne ASAP
Jaki jest cel ?
Diagnostyka awarii
Jakie postawić pytania
Jaki jest stan klientów
bazy (w tym replikacji) ?
Czy była przerwa w sieci ?
Jak wyglądają połączenia
TCP_IP
Metryki
 TCP Ping pomiędzy lokalizacjami
 Stan połączeń zrzucony netstatem
 Wyliczenie dokładnego czasu
przerwy na podstawie logów
CASE THREE
Problem -
Zatrzymanie platformy klienta
Kontekst:
 150+ JVM’s,
 6 instancji Oracle,
 Internal cloud,
 Brak automatyzacji start-stop.
Hipotezy
 Awaria aplikacji,
 Awaria messagingu,
 Awaria bazy danych,
 Awaria sieci.
Hipotezy
 Awaria aplikacji,
 Awaria messagingu,
 Awaria bazy danych,
 Awaria sieci.
Jaki jest cel ?
Diagnostyka awarii
Jakie postawić pytania
Który komponent nie odpowiada ?
Jak wyglądają
połączenia TCP_IP na
węzłach
Rozwiązania …
Dekompozycja problemu
Aktywny monitoring
komponentów
Netstat & Netcat
podczas awarii
There is no silver bullet
Cel: Czytelny dahsboard
Środek: Dobrze dobrane
metryki
Łukasz Filut
lukasz@pluckyrebels.com

More Related Content

Featured

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
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Featured (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

I have high load - so what (in polish) ?

Editor's Notes

  1. On Linux, load averages are (or try to be) "system load averages", for the system as a whole, measuring the number of threads that are working and waiting to work (CPU, disk, uninterruptible locks). Put differently, it measures the number of threads that aren't completely idle. Advantage: includes demand for different resources.
  2. On Linux, load averages are (or try to be) "system load averages", for the system as a whole, measuring the number of threads that are working and waiting to work (CPU, disk, uninterruptible locks). Put differently, it measures the number of threads that aren't completely idle. Advantage: includes demand for different resources.
  3. On Linux, load averages are (or try to be) "system load averages", for the system as a whole, measuring the number of threads that are working and waiting to work (CPU, disk, uninterruptible locks). Put differently, it measures the number of threads that aren't completely idle. Advantage: includes demand for different resources.
  4. On Linux, load averages are (or try to be) "system load averages", for the system as a whole, measuring the number of threads that are working and waiting to work (CPU, disk, uninterruptible locks). Put differently, it measures the number of threads that aren't completely idle. Advantage: includes demand for different resources.
  5. On Linux, load averages are (or try to be) "system load averages", for the system as a whole, measuring the number of threads that are working and waiting to work (CPU, disk, uninterruptible locks). Put differently, it measures the number of threads that aren't completely idle. Advantage: includes demand for different resources.
  6. Goal – jaki mamy cel? Question – jakie pytanie mamy do rozwiązania Metric – jakie metryki ono rozwiązuje