autocannon

noun

say it: “AW-toh-KAN-un” /ˈɔtoʊˌkænən/

A command-line tool that floods a web address with requests and reports how fast, and how many, the server answered.

What is autocannon?

autocannon is a Node load-testing tool: it sends many HTTP requests at once to an address and reports the latency and how many requests per second the server answered.

npx autocannon -c 50 -d 10 http://localhost:3000/shuttles
# 50 connections for 10 seconds, then a table of
# latency and requests per second

In a sentence

  • “Run autocannon against your own server, never someone else's site.”
  • “autocannon showed the shuttle route answering 1,800 requests a second before the cache and 9,000 after.”

Level: Freelancer · More Node.js terms at this level

Updated