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
600
When Performance Matters – Effective Performance Testing from the Ground Up
hassy
0
55
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
230
Other Decks in Technology
See All in Technology
国井さんにPurview の話を聞く会
sophiakunii
1
280
田舎で20年スクラム(後編):一個人が企業で長期戦アジャイルに挑む意味
chinmo
1
690
「駆動」って言葉、なんかカッコイイ_Mitz
comucal
PRO
0
130
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
190
SES向け、生成AI時代におけるエンジニアリングとセキュリティ
longbowxxx
0
290
テストセンター受験、オンライン受験、どっちなんだい?
yama3133
0
200
Eight Engineering Unit 紹介資料
sansan33
PRO
0
6.1k
Everything As Code
yosuke_ai
0
480
BidiAgent と Nova 2 Sonic から考える音声 AI について
yama3133
2
140
AWS re:Invent 2025 を振り返る
kazzpapa3
2
110
ソフトウェアエンジニアとAIエンジニアの役割分担についてのある事例
kworkdev
PRO
1
350
1万人を変え日本を変える!!多層構造型ふりかえりの大規模組織変革 / 20260108 Kazuki Mori
shift_evolve
PRO
4
580
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
390
Highjacked: Video Game Concept Design
rkendrick25
PRO
0
260
The Spectacular Lies of Maps
axbom
PRO
1
410
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
0
36
Scaling GitHub
holman
464
140k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.8k
Prompt Engineering for Job Search
mfonobong
0
140
Why Our Code Smells
bkeepers
PRO
340
58k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
110
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5k
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]