Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Visual Load Testing
Search
Marc Huffnagle
April 08, 2013
Programming
0
140
Visual Load Testing
A talk I gave to Data Science Maryland on using visualization in load testing.
Marc Huffnagle
April 08, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
プロダクト志向ってなんなんだろうね
righttouch
PRO
0
160
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
19
3.6k
A2A プロトコルを試してみる
azukiazusa1
2
1.1k
Is Xcode slowly dying out in 2025?
uetyo
1
190
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
1
120
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
2
270
DroidKnights 2025 - 다양한 스크롤 뷰에서의 영상 재생
gaeun5744
3
320
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
160
XP, Testing and ninja testing
m_seki
3
190
Gleamという選択肢
comamoca
6
760
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
39
1.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Being A Developer After 40
akosma
90
590k
Visualization
eitanlees
146
16k
Scaling GitHub
holman
459
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Typedesign – Prime Four
hannesfritz
42
2.7k
How STYLIGHT went responsive
nonsquared
100
5.6k
How to train your dragon (web standard)
notwaldorf
93
6.1k
Transcript
Copyright 2013 Visual Load Testing Marc Huffnagle
[email protected]
Tuesday, April
9, 13
My background Tuesday, April 9, 13
My background ✤ Developer Tuesday, April 9, 13
My background ✤ Developer ✤ Sysadmin Tuesday, April 9, 13
My background ✤ Developer ✤ Sysadmin ✤ Tester Tuesday, April
9, 13
My background ✤ Developer ✤ Sysadmin ✤ Tester ✤ Developer
Tuesday, April 9, 13
My background ✤ Developer ✤ Sysadmin ✤ Tester ✤ Developer
✤ Tester Tuesday, April 9, 13
My background ✤ Developer ✤ Sysadmin ✤ Tester ✤ Developer
✤ Tester ✤ Sysadmin Tuesday, April 9, 13
My background ✤ Developer ✤ Sysadmin ✤ Tester ✤ Developer
✤ Tester ✤ Sysadmin ✤ Developer ... Tuesday, April 9, 13
Goals Tuesday, April 9, 13
Goals ✤ Show how we use visualization when load testing
ECHO Tuesday, April 9, 13
Goals ✤ Show how we use visualization when load testing
ECHO ✤ Demonstrate how you can use some of the same techniques Tuesday, April 9, 13
Goals ✤ Show how we use visualization when load testing
ECHO ✤ Demonstrate how you can use some of the same techniques ✤ Convince you that visualization can be easy Tuesday, April 9, 13
What is ECHO? Earth Observing System Clearing HOuse Tuesday, April
9, 13
NASA Earth Observing System Tuesday, April 9, 13
https://reverb.echo.nasa.gov/ ECHO Reverb Tuesday, April 9, 13
Our load testing goals Tuesday, April 9, 13
Our load testing goals http://ircimg.net/skeleton-computer-guy.jpg Tuesday, April 9, 13
Our load testing goals http://www.recareered.com/files/2011/03/Turtle-Creative-Commons.jpg Tuesday, April 9, 13
Our load testing goals http://tinyurl.com/cnb5quc Tuesday, April 9, 13
Our load testing goals http://bees.chrisinch.com/wp-content/uploads/2012/04/MoneyBag.jpg Tuesday, April 9, 13
Load Test Environment http://storylineblog.com/wp-content/uploads/2013/03/baby-computer-full.jpg Tuesday, April 9, 13
Load Test Environment Producer Thread Work Queue Worker Thread Worker
Thread Worker Thread Ruby Process Tuesday, April 9, 13
Sidekiq http://sidekiq.org Simple, efficient message processing for Ruby. Tuesday, April
9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Load Test Environment Load Test Driver Redis Sidekiq Worker Sidekiq
Worker Sidekiq Worker Tuesday, April 9, 13
http://farm5.static.flickr.com/4023/4548711373_d70fd58836_o.jpg Tuesday, April 9, 13
We’ll be using visualization for two things: Tuesday, April 9,
13
We’ll be using visualization for two things: Monitoring Tuesday, April
9, 13
We’ll be using visualization for two things: Monitoring Metrics Tuesday,
April 9, 13
Nagios http://www.nagios.org/ Tuesday, April 9, 13
Tuesday, April 9, 13
Graphs of completed jobs Tuesday, April 9, 13
Number of jobs processed Tuesday, April 9, 13
Number of failed jobs Tuesday, April 9, 13
Number of jobs currently running Tuesday, April 9, 13
Number of jobs in the backlog Tuesday, April 9, 13
http://4.bp.blogspot.com/_K4gm2yzgfeo/TJRYOHMNR2I/AAAAAAAAAKM/is6CjOkIIvk/s1600/flight-recorder.jpg Tuesday, April 9, 13
Types of metrics we collect Tuesday, April 9, 13
Types of metrics we collect ✤ Numeric time-series data Tuesday,
April 9, 13
Types of metrics we collect ✤ Numeric time-series data ✤
Event-based data Tuesday, April 9, 13
Operational System Load Test System Data Collection Tuesday, April 9,
13
Very important point: Keep your metrics collection as loosely coupled
from your system as possible. Tuesday, April 9, 13
It was this guy. Very important point: Keep your metrics
collection as loosely coupled from your system as possible. Tuesday, April 9, 13
Graphite http://graphite.wikidot.com Tuesday, April 9, 13
What should I store in Graphite? Tuesday, April 9, 13
What should I store in Graphite? Tuesday, April 9, 13
How do I get data into Graphite? ✤ collectd -
http://collectd.org ✤ logstash - http://www.logstash.net ✤ Anything that can open a socket ✤ echo “my-stat-name 1234 $(date +%s)” | nc graphite-host 2003 Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
What about those event-based metrics? Tuesday, April 9, 13
http://farm3.static.flickr.com/2799/4481372869_e5ccb9af5d_o.jpg Tuesday, April 9, 13
http://upload.wikimedia.org/wikipedia/commons/c/c7/Logs.jpg Tuesday, April 9, 13
http://upload.wikimedia.org/wikipedia/commons/f/fb/A_few_logs_-_geograph.org.uk_-_57580.jpg Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Timestamp Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Timestamp Request Method Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Timestamp Request Method Request Path Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Timestamp Request Method Request Path Status Code Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Timestamp Request Method Request Path Status Code Response Size Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Timestamp Request Method Request Path Status Code Response Size Response Time Tuesday, April 9, 13
2013-03-26T13:24:18.012 “GET /catalog-rest/echo_catalog/datasets.xml” 200 1234 1024 Sample Apache access log
message Timestamp Request Method Request Path Status Code Response Size Response Time Tuesday, April 9, 13
http://www.splunk.com Tuesday, April 9, 13
Basic Splunk Search Tuesday, April 9, 13
Basic Splunk Search Query Tuesday, April 9, 13
Basic Splunk Search Query Time period Tuesday, April 9, 13
Basic Splunk Search Query Time period Matching log entries Tuesday,
April 9, 13
Basic Splunk Search Query Time period Matching log entries Distribution
graph Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Tuesday, April 9, 13
Summing it all up Tuesday, April 9, 13
Summing it all up ✤ Visualization helps you grasp what’s
happening in a complex system Tuesday, April 9, 13
Summing it all up ✤ Visualization helps you grasp what’s
happening in a complex system ✤ It doesn’t have to be hard Tuesday, April 9, 13
Summing it all up ✤ Visualization helps you grasp what’s
happening in a complex system ✤ It doesn’t have to be hard ✤ You’re already generating and collecting the data you need to begin visualization Tuesday, April 9, 13
Questions? Tuesday, April 9, 13