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
310
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
610
When Performance Matters – Effective Performance Testing from the Ground Up
hassy
0
56
London Node.js Meetup - Artillery.io
hassy
0
150
Bulletproof Node.js Backends (with load-testing & Artillery)
hassy
3
3.3k
ScaleSummit 2016 - artillery.io
hassy
0
160
Load-testing 101 & Anatomy Of A Load-Generator in Node.js
hassy
0
240
Other Decks in Technology
See All in Technology
ブログの作成に音声AIツールを使って音声入力しようとした話
smt7174
1
130
2026年のAIエージェント構築はどうなる?
minorun365
9
1.4k
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
1.4k
Cloud Runでコロプラが挑む 生成AI×ゲーム『神魔狩りのツクヨミ』の裏側
colopl
0
460
GitHub Copilot CLI 現状確認会議(2026年2月のすがた)
torumakabe
3
410
Generative UI を試そう!A2-UIでAIエージェントにダッシュボードを作らせてみた
kamoshika
1
230
欲しいを叶える個人開発の進め方 / How to Run an Indie Project That Brings Your Ideas to Life
endohizumi
0
110
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
74k
生成AIで始める業務改革 - 製造業編 in 福島 -
daikikanemitsu
2
600
器用貧乏が強みになるまで ~「なんでもやる」が導いたエンジニアとしての現在地~
kakehashi
PRO
4
260
【Developers Summit 2026】Memory Is All You Need:コンテキストの「最適化」から「継続性」へ ~RAGを進化させるメモリエンジニアリングの最前線~
shisyu_gaku
3
300
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
660
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
130
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
110
The browser strikes back
jonoalderson
0
710
Building an army of robots
kneath
306
46k
Context Engineering - Making Every Token Count
addyosmani
9
680
Scaling GitHub
holman
464
140k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
200
The Limits of Empathy - UXLibs8
cassininazir
1
230
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
450
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Everyday Curiosity
cassininazir
0
140
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]