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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
hassy veldstra
February 02, 2016
Technology
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DublinJS - artillery.io
artillery.io - load-testing with Node.js ⚡️
hassy veldstra
February 02, 2016
More Decks by hassy veldstra
See All by hassy veldstra
Performance Testing From The Ground Up
hassy
1
640
When Performance Matters – Effective Performance Testing from the Ground Up
hassy
0
77
London Node.js Meetup - Artillery.io
hassy
0
170
Bulletproof Node.js Backends (with load-testing & Artillery)
hassy
3
3.3k
ScaleSummit 2016 - artillery.io
hassy
0
180
Load-testing 101 & Anatomy Of A Load-Generator in Node.js
hassy
0
260
Other Decks in Technology
See All in Technology
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
1
200
データと地図で読む 大井町の「かわるもの、かわらないもの」
yoshiyama_hana
0
900
信頼できるテスティングAIをどう育てるか?
odan611
0
180
PLaMoを毎日の開発で使い育てていく
pfn
PRO
0
170
AI Agent を本番環境へ―― Microsoft Foundry × Azure Serverless で作る Enterprise-Ready な基盤
shibayan
PRO
2
1k
PLaMo 3.0 Primeの構造化出力サポート
pfn
PRO
0
160
A Bag-of-Documents Model for Query Specificity
dtunkelang
0
190
AI エージェント時代のデジタルアイデンティティ
fujie
2
1.3k
QAと開発の両側から進める AI活用 -QAプロセスAI支援ツールキットと Inner Loop / Outer Loopの取り組み-
legalontechnologies
PRO
2
400
Escolhendo LLMs na Prática: Lições Reais em Busca Agêntica no Mercado Livre —TDC 2026 Floripa
jpbonson
0
120
クラウドセキュリティ入門 ~安全なクラウド利用のための基礎知識~
lhazy
7
6.3k
LLMリーダーボードアップデートに向けたAgentic Math_SWEのトレースについて
nejumi
0
190
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
330
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
360
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Amusing Abliteration
ianozsvald
1
240
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Between Models and Reality
mayunak
4
380
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Everyday Curiosity
cassininazir
0
270
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
430
Building Applications with DynamoDB
mza
96
7.1k
The agentic SEO stack - context over prompts
schlessera
0
860
The Invisible Side of Design
smashingmag
301
52k
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]