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
Devour The Cloud With Locust Swarms - Hands On ...
Search
stevenjackson
January 09, 2018
Technology
0
76
Devour The Cloud With Locust Swarms - Hands On Load Testing
Given at CodeMash 2.0.1.8
stevenjackson
January 09, 2018
Tweet
Share
More Decks by stevenjackson
See All by stevenjackson
Death By Specification
stevenjackson
1
36
Looking for Failure
stevenjackson
0
140
Better Software Through Shared Understanding
stevenjackson
0
150
Going to Eleven
stevenjackson
0
70
A Locust Storm Is A Good Thing!
stevenjackson
0
120
Lambda Image Resizing
stevenjackson
0
78
Faliing Your Way To Success
stevenjackson
0
88
Death By Specification(cukeup)
stevenjackson
0
140
Failure Lightning Talk
stevenjackson
0
97
Other Decks in Technology
See All in Technology
JAWS UG AI/ML #32 Amazon BedrockモデルのライフサイクルとEOL対応/How Amazon Bedrock Model Lifecycle Works
quiver
1
130
OTEPsで知るOpenTelemetryの未来 / Observability Conference Tokyo 2025
arthur1
0
330
GCASアップデート(202508-202510)
techniczna
0
110
個人でデジタル庁の デザインシステムをVue.jsで 作っている話
nishiharatsubasa
3
5.2k
AI駆動で進める依存ライブラリ更新 ─ Vue プロジェクトの品質向上と開発スピード改善の実践録
sayn0
1
340
20251024_TROCCO/COMETAアップデート紹介といくつかデモもやります!_#p_UG 東京:データ活用が進む組織の作り方
soysoysoyb
0
130
CLIPでマルチモーダル画像検索 →とても良い
wm3
1
640
AIの個性を理解し、指揮する
shoota
3
510
ViteとTypeScriptのProject Referencesで 大規模モノレポのUIカタログのリリースサイクルを高速化する
shuta13
3
230
SOTA競争から人間を超える画像認識へ
shinya7y
0
630
ソースを読む時の思考プロセスの例-MkDocs
sat
PRO
1
330
激動の時代を爆速リチーミングで乗り越えろ
sansantech
PRO
1
180
Featured
See All Featured
Designing for Performance
lara
610
69k
How to train your dragon (web standard)
notwaldorf
97
6.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Making Projects Easy
brettharned
120
6.4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
630
Navigating Team Friction
lara
190
15k
For a Future-Friendly Web
brad_frost
180
10k
Code Review Best Practice
trishagee
72
19k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
KATA
mclloyd
PRO
32
15k
Transcript
Devour the Cloud Do you have an AWS Account?
nick @stevejxsn @nickbarendt # codemash #devour-the-cloud
[email protected]
[email protected]
Nick Barendt
Steve Jackson
None
Setup AMIs http://bit.do/devour-aws
AMIs Saleor Locust ami-da98c7a0 ami-a59bc4df You can also search for
“CM2018”
If you leave early…. Remember to stop/terminate your AWS instances!
Explore Saleor (our system under test today)
What is Load Testing?
It’s often pictured this way...
None
Load Testing simulates the experience of “many” concurrent users What
is Load Testing?
Load Testing is not about optimizing the per user experience
Most test tools are bad at Assets Javascript
None
None
None
Needing load testing is a good problem
It’s not hard…. Resource Planning Performance Regressions Architecture Changes
Ok, so what are we focusing on?
Key Question: How many users can I have on my
site before things break?
Key Question: How many users can I add before performance
becomes unacceptable?
None
None
Close Enough
None
It’s About Tradeoffs
None
Why Locust?
Simple When will this endpoint fall over?
Record/Playback Easy to get Started
Programmatic Simple -> Complex
DSL
Scales Horizontally
Scales Horizontally
None
Simple Web UI
None
User Signup http://bit.do/devour-signup
Buy! http://bit.do/devour-buy
User Funnel
None
None
None
None
100% Returning Users (20%) Find Cart Buy 80% 75%
25% 100% New Users (80%) Visit Cart Buy 97% 50%
Find
25% 100% User Funnel Visit Cart Buy 97% 50% Find
100% Find Cart Buy 80% 75% New 80% Old 20%
Weigh Tasks http://bit.do/devour-funnel
Find a Baseline
None
Identify Bottleneck
None
None
?
None
Saleor Architecture
Eliminate Bottleneck
Database Laziness Index Connection Pooling
Caching
Async
Current Architecture
Architecture with Caching
View Caching http://bit.do/devour-caching
Find new Baseline
Next Steps Choose Your Own Adventure http://bit.do/devour-advanced
Thanks! REMEMBER TO SHUT DOWN YOUR MACHINES! @stevejxsn @nickbarendt