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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
610
Other Decks in Programming
See All in Programming
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
130
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
160
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
530
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
210
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4k
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
750
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.6k
RTSPクライアントを自作してみた話
simotin13
0
530
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
490
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
230
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
200
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
570
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Context Engineering - Making Every Token Count
addyosmani
9
960
The Curious Case for Waylosing
cassininazir
1
380
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
420
YesSQL, Process and Tooling at Scale
rocio
174
15k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
30 Presentation Tips
portentint
PRO
1
320
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