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
Bring your website down with Gatling
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kunal Dabir
November 15, 2014
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Bring your website down with Gatling
Presentation from Vodqa workshop, Pune 2014
Kunal Dabir
November 15, 2014
More Decks by Kunal Dabir
See All by Kunal Dabir
Demystifying Gradle DSL
kdabir
0
620
Other Decks in Programming
See All in Programming
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
390
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
110
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
490
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
580
How I Won Prize Money at a Hackathon Using Codex and Symphony Alpha
yasei_no_otoko
0
110
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
270
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
1
140
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
19k
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
530
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
500
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
6
2k
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
830
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The untapped power of vector embeddings
frankvandijk
2
1.8k
Ruling the World: When Life Gets Gamed
codingconduct
0
300
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
440
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
210
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
250
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Transcript
Bring your website down with Gatling 1 / 22
Not quite literally :) 2 / 22
Why would we want to do that? 3 / 22
To Test Production-Readiness Can we meet SLA? Are we meeting
required throughput? like request/rec Will app sustain the normal & peak loads 4 / 22
Benchmarking CPU utilization Memory utilization Network bandwidth usage 5 /
22
Finding Performance Issues Like memory leaks Index missing (in DB)
Caching issues 6 / 22
Capacity Planning How many servers would I need What will
be configuration 7 / 22
Types Load testing Stress testing Spike testing Endurance/Soak and many
more... 8 / 22
Server-side performance vs Client-side performance 9 / 22
Client Side Performance DOM rendering time Network issues / latency
JavaScript execution time CSS/JS compression/optimiaztion Image optimization 10 / 22
Tools YSlow Google PageSpeed 11 / 22
Server Side Performance Resource consumption Throughput and a lot more...
12 / 22
What are the options? 13 / 22
Command Line Utilities Shell script with curl/wget fighting a battle
with needle Apache bench good for very simple use cases Seige bit more sophisticated than AB but not full blown 14 / 22
More Programmable Solutions Locust python JMeter java but more gui
centric Gatling JVM with scala DSL 15 / 22
User Journeys Tool should be able to emulate real users
with realistic load Example: 1. I login, 2. I browse for an item 3. I add it to my cart 4. I proceed to checkout 5. I pay 6. I logout 16 / 22
Scenarios User regestration will happens less frequently than order checkout
Should test accordingly With desired load pattern 17 / 22
Complexities Sessions Cookies user journeys reporting/insights into key metrices 18
/ 22
Metrices Requests request/sec distribution of urls Response time 90%ile, 95%ile
avg/mean min/max Result failed vs passed vs timed out status codes Users active sessions 19 / 22
Demo Clone the gatling-stater project 20 / 22
Thank You @kdabir github.com/kdabir 21 / 22
References http://msdn.microsoft.com/en-us/library/bb924356.aspx https://github.com/kdabir/gatling-starter http://gatling.io 22 / 22