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
Gatling - Swiss JUG (Bern)
Search
Nicolas Rémond
June 19, 2013
Technology
110
1
Share
Gatling - Swiss JUG (Bern)
Presentation of Gatling at the Swiss JUG (jug.ch)
Nicolas Rémond
June 19, 2013
More Decks by Nicolas Rémond
See All by Nicolas Rémond
Gatling - GenevaJUG, 2012-11-27
nremond
0
1.7k
Other Decks in Technology
See All in Technology
EBS暗号化に失敗してEC2が動かなくなった話
hamaguchimmm
2
200
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
7
1.3k
明日からドヤれる!超マニアックなAWSセキュリティTips10連発 / 10 Ultra-Niche AWS Security Tips
yuj1osm
0
590
Digitization部 紹介資料
sansan33
PRO
1
7.3k
AWS認定資格は本当に意味があるのか?
nrinetcom
PRO
2
270
自立を加速させる神器 - EMOasis #11
stanby_inc
0
140
Eight Engineering Unit 紹介資料
sansan33
PRO
3
7.3k
マルチエージェント × ハーネスエンジニアリング × GitLab Duo Agent Platformで実現する「AIエージェントに仕事をさせる時代へ。」 / 20260421 GitLab Duo Agent Platform
n11sh1
0
160
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
370
Shipping AI Agents — Lessons from Production
vvatanabe
0
240
「SaaSの次の時代」に重要性を増すステークホルダーマネジメントの要諦 ~解像度を圧倒的に高めPdMの価値を最大化させる方法~
kakehashi
PRO
2
820
Keeping Ruby Running on Cygwin
fd0
0
150
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
210
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
69
39k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
Believing is Seeing
oripsolob
1
110
Statistics for Hackers
jakevdp
799
230k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
130
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
The World Runs on Bad Software
bkeepers
PRO
72
12k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
500
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
Load testing made easy Bern – June 19th, 2013
None
Every 100 milliseconds of latency costs 1% in sales An
extra 500 milliseconds latency in search page generation time dropped traffic by 20%.
Load Runner" JMeter" The Grinder" LoadUI" Tsung" …
Issue #1 High Performance
1 user = " 1 thread
50 threads on a JVM
With 2000 threads
Blocking I/O
Threads ?" Waiting…
… and sleeping
Usability Issue #2
Listen, it's not that complicated... Graphical User Interface
Maintainability Issue #3
What is this change about ?
Gatling can change all that !
1user=1thread" " Synchronous" " Blocking I/O - Actor model -
Asynchronous - Non blocking I/O
JMeter 2.8 perf test, expecting 300 tr/sec Can you trust
your results ?
JMeter reference test with Gatling, expecting 300 tr/sec
Reach new limits
Done with the Play2 Computer-Database sample. (cf: https://github.com/gatling/computer-database)
Scenario " Scala code" DSL " = =
Use the rich DSL … Checks regex / css /
xpath / jsonPath find / findAll / count is / in / not / whatever Structures doIf / repeat / during / asLongAs randomSwitch / roundRobinSwitch Error handling tryMax / exitBlockOnFail Feeders csv / tsv / jdbc
… or write your own " Scala code…
… or use the Recorder
Killing features
Markov chains
None
Quickly selling events at SecuTix.
None
setUp(scn.inject(heaviside(2400 users).over(30 minutes), ramp(340 users) over (30 minutes)) .protocolConfig(httpConf))
• HAR interpreter • Maven Plugin • Maven archetype (run
in IDE) • Jenkins plugin • Graphite live reporting
None
Show me how it works!
Next ? • Websockets • Clustering • …
None
http://gatling-tool.org http://github.com/excilys/gatling @GatlingTool http://nremond.github.io @nremond @nremond