TCP HTTP Load generator for linux (liburing)
https://gcannon.org โ// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 94/100 with only 38 stars
- 5 releases in the last 90 days
// how to help
// readme
Glass Cannon
High-performance load generator built on Linux io_uring. Supports HTTP/1.1, WebSocket and HTTPS (TLS 1.3 over kernel TLS).
Http Arena official Http/1.1 load generator
Install
# Requires liburing-dev and libssl-dev (OpenSSL 3)
git clone https://github.com/MDA2AV/gcannon.git && cd gcannon
make
sudo cp gcannon /usr/local/bin/
Quick Start
# HTTP benchmark
gcannon http://localhost:8080/ -c 512 -t 8 -d 10s
# HTTP with pipelining
gcannon http://localhost:8080/ -c 512 -t 8 -d 10s -p 16
# WebSocket echo
gcannon http://localhost:8080/ws --ws -c 512 -t 8 -d 10s
# HTTPS (TLS 1.3)
gcannon https://localhost:8443/ -c 512 -t 8 -d 10s
# Raw request files (multiple templates)
gcannon http://localhost:8080 --raw get.raw,post.raw -c 256 -t 4 -d 5s