Skip to content

limitd/limitd-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A benchmark command line tool for limitd.

Installation

npm install -g limitd-bench

Usage

10k requests with concurrency level set to 10:

limitdctl --bucket ip --key 127.0.0.1 --take 1 -c 100 -n 100000

example results:

Doing 100000 TAKE operations with concurrency 100
┌────────────────┬──────────┐
│ Total time     │ 49598 ms │
├────────────────┼──────────┤
│ Errored        │ 0        │
├────────────────┼──────────┤
│ Conformant     │ 497      │
├────────────────┼──────────┤
│ Non Conformant │ 99503    │
├────────────────┼──────────┤
│ Mean           │ 49.56    │
├────────────────┼──────────┤
│ P50            │ 44.00    │
├────────────────┼──────────┤
│ P95            │ 79.00    │
├────────────────┼──────────┤
│ P97            │ 86.00    │
├────────────────┼──────────┤
│ Max            │ 489      │
├────────────────┼──────────┤
│ Min            │ 7        │
└────────────────┴──────────┘

License

MIT 2015 - Auth0 Inc.

About

limitd benchmark tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published