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
1
98
Gatling - Swiss JUG (Bern)
Presentation of Gatling at the Swiss JUG (jug.ch)
Nicolas Rémond
June 19, 2013
Tweet
Share
More Decks by Nicolas Rémond
See All by Nicolas Rémond
Gatling - GenevaJUG, 2012-11-27
nremond
0
1.5k
Other Decks in Technology
See All in Technology
『Firebase Dynamic Links終了に備える』 FlutterアプリでのAdjust導入とDeeplink最適化
techiro
0
150
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
760
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
Terraform Stacks入門 #HashiTalks
msato
0
360
飲食店データの分析事例とそれを支えるデータ基盤
kimujun
0
190
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
200
Platform Engineering for Software Developers and Architects
syntasso
1
520
アジャイルチームがらしさを発揮するための目標づくり / Making the goal and enabling the team
kakehashi
3
150
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
1
120
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
120
Storybook との上手な向き合い方を考える
re_taro
4
370
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
2
460
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Building an army of robots
kneath
302
43k
Thoughts on Productivity
jonyablonski
67
4.3k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
For a Future-Friendly Web
brad_frost
175
9.4k
Bash Introduction
62gerente
608
210k
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