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
Kunal Dabir
November 15, 2014
Programming
160
0
Share
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
600
Other Decks in Programming
See All in Programming
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
130
10 Tips of AWS ~Gen AI on AWS~
licux
5
360
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
290
Feature Toggle は捨てやすく使おう
gennei
0
590
2026_04_15_量子計算をパズルとして解く
hideakitakechi
0
100
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
400
Running Swift without an OS
kishikawakatsumi
0
800
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
200
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
250
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
220
JOAI2026 1st solution - heron0519 -
heron0519
0
110
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
3
270
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
0
290
Code Review Best Practice
trishagee
74
20k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
170
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
The agentic SEO stack - context over prompts
schlessera
0
740
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
130
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.3k
Scaling GitHub
holman
464
140k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Making Projects Easy
brettharned
120
6.6k
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