Testing Performance of NodeJs App? Try These 3 Proven Tools

Testing Performance of NodeJs App? Try These 3 Proven Tools — Systango

What will you learn?

Load Testing Tools

  • How much time does it take to serve a request?
  • How many requests can it serve in a given time period?
  • How many concurrent requests can it handle?

Artillery

How Systango Can Help You?

Installation

> npm install -g artillery

Usage

CLI

Configuration File

Autocannon

  • request latency: time is taken to get the result of the request back to the user
  • request volume: the number of requests sent and the number of bytes downloaded

Installation

Usage

CLI

Script

How Systango Can Help You?

  • start (emitted when the autocannon is setup),
  • tick (emitted every second when autocannon is running a benchmark),
  • done (emitted when the autocannon finishes a benchmark)
  • error (emitted if there is an error during the setup phase of autocannon) etc.

Node.js Performance Monitoring Tools

Node Application Metrics

  • CPU metrics
  • Memory metrics
  • Garbage collection
  • Event Loop data
  • MySQL, MongoDB, PostgreSQL, OracleDB, and Redis database metrics
  • WebSocket monitoring etc.

1. Appmetrics via API

2. Appmetrics Dashboard

Wrap Up

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
SYSTANGO

SYSTANGO

London’s leading digital agency Systango offers full service from strategy, scoping to launch & maintenance, innovative campaigns to enterprise infrastructure.