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
DublinJS - artillery.io
Search
hassy veldstra
February 02, 2016
Technology
0
300
DublinJS - artillery.io
artillery.io - load-testing with Node.js ⚡️
hassy veldstra
February 02, 2016
Tweet
Share
More Decks by hassy veldstra
See All by hassy veldstra
Performance Testing From The Ground Up
hassy
1
390
When Performance Matters – Effective Performance Testing from the Ground Up
hassy
0
41
London Node.js Meetup - Artillery.io
hassy
0
130
Bulletproof Node.js Backends (with load-testing & Artillery)
hassy
3
3.2k
ScaleSummit 2016 - artillery.io
hassy
0
150
Load-testing 101 & Anatomy Of A Load-Generator in Node.js
hassy
0
220
Other Decks in Technology
See All in Technology
無意味な開発生産性の議論から抜け出すための予兆検知とお金とAI
i35_267
0
860
製造業からパッケージ製品まで、あらゆる領域をカバー!生成AIを利用したテストシナリオ生成 / 20250627 Suguru Ishii
shift_evolve
PRO
1
160
mrubyと micro-ROSが繋ぐロボットの世界
kishima
2
380
PHP開発者のためのSOLID原則再入門 #phpcon / PHP Conference Japan 2025
shogogg
4
930
ビギナーであり続ける/beginning
ikuodanaka
1
190
SpringBoot x TestContainerで実現するポータブル自動結合テスト
demaecan
0
120
rubygem開発で鍛える設計力
joker1007
2
270
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
310
2025-06-26 GitHub CopilotとAI駆動開発:実践と導入のリアル
fl_kawachi
1
240
Amazon S3標準/ S3 Tables/S3 Express One Zoneを使ったログ分析
shigeruoda
5
590
OPENLOGI Company Profile
hr01
0
67k
Tech-Verse 2025 Keynote
lycorptech_jp
PRO
0
1.3k
Featured
See All Featured
Practical Orchestrator
shlominoach
188
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
We Have a Design System, Now What?
morganepeng
53
7.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
950
A Modern Web Designer's Workflow
chriscoyier
694
190k
Done Done
chrislema
184
16k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Music & Morning Musume
bryan
46
6.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
KATA
mclloyd
30
14k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Transcript
artillery.io Load-testing in Node.js ⚡️ Hassy Veldstra <
[email protected]
> @hveldstra
$: whoami
• Node.js – mostly big companies moving from Java and
.NET $: whoami
• Node.js – mostly big companies moving from Java and
.NET • DevOps – on AWS, with HashiCorp tooling $: whoami
Artillery?
• Load-generator – sends a lot of requests/messages to a
server, very quickly Artillery?
• Load-generator – sends a lot of requests/messages to a
server, very quickly • Simulates virtual users Artillery?
• Load-generator – sends a lot of requests/messages to a
server, very quickly • Simulates virtual users • Written in Node.js Artillery?
• Load-generator – sends a lot of requests/messages to a
server, very quickly • Simulates virtual users • Written in Node.js • Open-source Artillery?
Demo https://bit.ly/20mUbyf
None
Origins
• Building a chat app Origins
• Building a chat app • Needed to load-test to
100k concurrent WebSocket connections Origins
• Building a chat app • Needed to load-test to
100k concurrent WebSocket connections • Tools not up to scratch, got there (1M in fact) but much pain Origins
• Building a chat app • Needed to load-test to
100k concurrent WebSocket connections • Tools not up to scratch, got there (1M in fact) but much pain • “There has to be a better way” Origins
Load-testing
• You know when you need it Load-testing
• You know when you need it • A lot
of fun can be had with a load-generator Load-testing
• You know when you need it • A lot
of fun can be had with a load-generator • PDD Load-testing
• You know when you need it • A lot
of fun can be had with a load-generator • PDD • Load-testing in production (yes!) Load-testing
• You know when you need it • A lot
of fun can be had with a load-generator • PDD • Load-testing in production (yes!) • Experimental benchmarking Load-testing
Features
• npm install artillery Features
• npm install artillery • Nice CLI Features
None
• npm install artillery • Nice CLI • Test HTTP(S)
and WebSockets Features
• npm install artillery • Nice CLI • Test HTTP(S)
and WebSockets • Simulate complex behavior / transactions Features
• npm install artillery • Nice CLI • Test HTTP(S)
and WebSockets • Simulate complex behavior / transactions • Just JSON / YAML Features
• npm install artillery • Nice CLI • Test HTTP(S)
and WebSockets • Simulate complex behavior / transactions • Just JSON / YAML • Generate graphical reports (nice charts etc) Features
• npm install artillery • Nice CLI • Test HTTP(S)
and WebSockets • Simulate complex behavior / transactions • Just JSON / YAML • Generate graphical reports (nice charts etc) • Good performance (1.5k RPS on a modest VPS) Features
Coming in 1.4
• HTTP/2 support Coming in 1.4
• HTTP/2 support • Distributed mode (that’s easy to use)
Coming in 1.4
• HTTP/2 support • Distributed mode (that’s easy to use)
• HTTP performance improvements Coming in 1.4
• HTTP/2 support • Distributed mode (that’s easy to use)
• HTTP performance improvements • AMQP support Coming in 1.4
http://bit.ly/1RYln1s
Future
• More protocols supported out of the box Future
• More protocols supported out of the box • Even
more performant Future
• More protocols supported out of the box • Even
more performant • Even easier to use Future
• More protocols supported out of the box • Even
more performant • Even easier to use • Enterprise-grade load-testing, in Node.js Future
Contribute
• Write an engine Contribute
• Write an engine • Write a publishing plugin Contribute
• Write an engine • Write a publishing plugin •
Write a tutorial Contribute
• Write an engine • Write a publishing plugin •
Write a tutorial • Help improve the reports Contribute
• Write an engine • Write a publishing plugin •
Write a tutorial • Help improve the reports • Use Artillery and file any bugs you find Contribute
Thanks • https://artillery.io • @hveldstra •
[email protected]