Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
440
When Performance Matters – Effective Performance Testing from the Ground Up
hassy
0
49
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
Playwrightのソースコードに見る、自動テストを自動で書く技術
yusukeiwaki
13
5.1k
Overture Maps Foundationの3年を振り返る
moritoru
0
160
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
1
160
多様なデジタルアイデンティティを攻撃からどうやって守るのか / 20251212
ayokura
0
350
AWSセキュリティアップデートとAWSを育てる話
cmusudakeisuke
0
130
WordPress は終わったのか ~今のWordPress の制作手法ってなにがあんねん?~ / Is WordPress Over? How We Build with WordPress Today
tbshiki
1
530
Gemini でコードレビュー知見を見える化
zozotech
PRO
1
230
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
1.1k
A Compass of Thought: Guiding the Future of Test Automation ( #jassttokai25 , #jassttokai )
teyamagu
PRO
1
250
安いGPUレンタルサービスについて
aratako
2
2.7k
AI活用によるPRレビュー改善の歩み ― 社内全体に広がる学びと実践
lycorptech_jp
PRO
1
190
生成AIでテスト設計はどこまでできる? 「テスト粒度」を操るテーラリング術
shota_kusaba
0
580
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Faster Mobile Websites
deanohume
310
31k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.8k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.2k
[SF Ruby Conf 2025] Rails X
palkan
0
500
Git: the NoSQL Database
bkeepers
PRO
432
66k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
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]