Closed eguzki closed 6 months ago
JFYI a second measurement for just 1m:
Executing limitador-driver: $ limitador-driver rpc://127.0.0.1:8081 1m
Hitting Limitador at rpc://127.0.0.1:8081 for a total duration of 1 minutes
Current: hits: 2789, mean: 0.358ms, p50: 0.303ms, p90: 0.563ms, p99: 0.991ms, p999: 1.495ms, max: 1.607ms
Current: hits: 3032, mean: 0.329ms, p50: 0.301ms, p90: 0.367ms, p99: 0.811ms, p999: 1.095ms, max: 1.279ms
Current: hits: 3070, mean: 0.325ms, p50: 0.301ms, p90: 0.355ms, p99: 0.699ms, p999: 1.087ms, max: 1.143ms
Current: hits: 3002, mean: 0.333ms, p50: 0.301ms, p90: 0.397ms, p99: 0.859ms, p999: 1.111ms, max: 4.799ms
Current: hits: 3004, mean: 0.333ms, p50: 0.303ms, p90: 0.379ms, p99: 0.819ms, p999: 1.103ms, max: 1.431ms
Current: hits: 3034, mean: 0.329ms, p50: 0.301ms, p90: 0.367ms, p99: 0.871ms, p999: 1.167ms, max: 1.295ms
Current: hits: 3034, mean: 0.329ms, p50: 0.303ms, p90: 0.359ms, p99: 0.879ms, p999: 1.167ms, max: 1.263ms
Current: hits: 2765, mean: 0.361ms, p50: 0.313ms, p90: 0.515ms, p99: 0.907ms, p999: 1.175ms, max: 1.327ms
Current: hits: 3039, mean: 0.329ms, p50: 0.303ms, p90: 0.361ms, p99: 0.787ms, p999: 1.015ms, max: 1.191ms
Current: hits: 2849, mean: 0.351ms, p50: 0.311ms, p90: 0.453ms, p99: 0.971ms, p999: 1.231ms, max: 2.271ms
Current: hits: 2986, mean: 0.334ms, p50: 0.301ms, p90: 0.403ms, p99: 0.883ms, p999: 1.159ms, max: 1.215ms
Current: hits: 3053, mean: 0.327ms, p50: 0.301ms, p90: 0.363ms, p99: 0.823ms, p999: 1.071ms, max: 1.223ms
Current: hits: 3082, mean: 0.324ms, p50: 0.301ms, p90: 0.351ms, p99: 0.803ms, p999: 1.095ms, max: 1.183ms
Current: hits: 3035, mean: 0.329ms, p50: 0.301ms, p90: 0.357ms, p99: 0.859ms, p999: 1.215ms, max: 1.303ms
Current: hits: 3051, mean: 0.327ms, p50: 0.301ms, p90: 0.365ms, p99: 0.831ms, p999: 1.023ms, max: 1.151ms
Current: hits: 3046, mean: 0.328ms, p50: 0.303ms, p90: 0.355ms, p99: 0.819ms, p999: 1.159ms, max: 2.007ms
Current: hits: 3066, mean: 0.326ms, p50: 0.303ms, p90: 0.355ms, p99: 0.767ms, p999: 1.063ms, max: 1.183ms
Current: hits: 2959, mean: 0.338ms, p50: 0.305ms, p90: 0.409ms, p99: 0.875ms, p999: 1.143ms, max: 1.231ms
Current: hits: 2889, mean: 0.346ms, p50: 0.313ms, p90: 0.481ms, p99: 0.839ms, p999: 1.103ms, max: 3.247ms
Current: hits: 2252, mean: 0.444ms, p50: 0.335ms, p90: 0.647ms, p99: 1.015ms, p999: 1.455ms, max: 15.935ms
Current: hits: 2258, mean: 0.443ms, p50: 0.323ms, p90: 0.655ms, p99: 1.239ms, p999: 1.551ms, max: 2.735ms
Current: hits: 3089, mean: 0.323ms, p50: 0.303ms, p90: 0.349ms, p99: 0.747ms, p999: 1.111ms, max: 1.175ms
Current: hits: 2839, mean: 0.352ms, p50: 0.305ms, p90: 0.515ms, p99: 0.799ms, p999: 1.167ms, max: 1.223ms
Current: hits: 3013, mean: 0.332ms, p50: 0.303ms, p90: 0.365ms, p99: 0.899ms, p999: 1.103ms, max: 2.159ms
Current: hits: 3055, mean: 0.327ms, p50: 0.301ms, p90: 0.367ms, p99: 0.831ms, p999: 1.039ms, max: 1.111ms
Current: hits: 3007, mean: 0.332ms, p50: 0.303ms, p90: 0.375ms, p99: 0.855ms, p999: 1.135ms, max: 1.399ms
Current: hits: 3094, mean: 0.323ms, p50: 0.299ms, p90: 0.343ms, p99: 0.851ms, p999: 1.079ms, max: 1.287ms
Current: hits: 3062, mean: 0.326ms, p50: 0.301ms, p90: 0.357ms, p99: 0.755ms, p999: 1.111ms, max: 4.447ms
Current: hits: 3020, mean: 0.331ms, p50: 0.305ms, p90: 0.361ms, p99: 0.811ms, p999: 1.079ms, max: 1.167ms
Current: hits: 3018, mean: 0.331ms, p50: 0.301ms, p90: 0.403ms, p99: 0.767ms, p999: 1.023ms, max: 1.087ms
Current: hits: 2307, mean: 0.433ms, p50: 0.309ms, p90: 0.671ms, p99: 1.207ms, p999: 1.479ms, max: 16.383ms
Current: hits: 2214, mean: 0.451ms, p50: 0.321ms, p90: 0.691ms, p99: 1.215ms, p999: 1.359ms, max: 1.375ms
Current: hits: 3073, mean: 0.325ms, p50: 0.303ms, p90: 0.357ms, p99: 0.735ms, p999: 1.255ms, max: 1.703ms
Current: hits: 2995, mean: 0.333ms, p50: 0.303ms, p90: 0.399ms, p99: 0.791ms, p999: 1.143ms, max: 1.487ms
Current: hits: 3001, mean: 0.333ms, p50: 0.305ms, p90: 0.371ms, p99: 0.815ms, p999: 1.087ms, max: 1.223ms
Current: hits: 3053, mean: 0.327ms, p50: 0.303ms, p90: 0.355ms, p99: 0.799ms, p999: 1.023ms, max: 1.167ms
Current: hits: 3062, mean: 0.326ms, p50: 0.301ms, p90: 0.359ms, p99: 0.795ms, p999: 1.135ms, max: 1.271ms
Current: hits: 3067, mean: 0.326ms, p50: 0.303ms, p90: 0.353ms, p99: 0.835ms, p999: 1.143ms, max: 1.191ms
Current: hits: 2779, mean: 0.359ms, p50: 0.307ms, p90: 0.515ms, p99: 0.887ms, p999: 1.175ms, max: 1.223ms
Current: hits: 3105, mean: 0.322ms, p50: 0.299ms, p90: 0.347ms, p99: 0.799ms, p999: 1.135ms, max: 1.215ms
Current: hits: 2917, mean: 0.342ms, p50: 0.311ms, p90: 0.465ms, p99: 0.783ms, p999: 1.111ms, max: 1.215ms
Current: hits: 3024, mean: 0.330ms, p50: 0.305ms, p90: 0.363ms, p99: 0.795ms, p999: 1.119ms, max: 1.183ms
Current: hits: 3088, mean: 0.324ms, p50: 0.301ms, p90: 0.353ms, p99: 0.687ms, p999: 1.031ms, max: 1.095ms
Current: hits: 3056, mean: 0.327ms, p50: 0.305ms, p90: 0.351ms, p99: 0.803ms, p999: 1.087ms, max: 1.183ms
Current: hits: 3109, mean: 0.321ms, p50: 0.301ms, p90: 0.345ms, p99: 0.707ms, p999: 1.079ms, max: 1.695ms
Current: hits: 3030, mean: 0.330ms, p50: 0.303ms, p90: 0.363ms, p99: 0.819ms, p999: 1.063ms, max: 1.327ms
Current: hits: 2855, mean: 0.350ms, p50: 0.311ms, p90: 0.463ms, p99: 0.971ms, p999: 1.119ms, max: 1.303ms
Current: hits: 3018, mean: 0.331ms, p50: 0.303ms, p90: 0.375ms, p99: 0.827ms, p999: 1.031ms, max: 1.319ms
Current: hits: 3008, mean: 0.332ms, p50: 0.303ms, p90: 0.373ms, p99: 0.899ms, p999: 1.071ms, max: 1.239ms
Current: hits: 2941, mean: 0.340ms, p50: 0.309ms, p90: 0.419ms, p99: 0.863ms, p999: 1.087ms, max: 1.255ms
Current: hits: 3005, mean: 0.332ms, p50: 0.305ms, p90: 0.375ms, p99: 0.767ms, p999: 1.167ms, max: 1.311ms
Current: hits: 3036, mean: 0.329ms, p50: 0.301ms, p90: 0.367ms, p99: 0.787ms, p999: 1.063ms, max: 1.407ms
Current: hits: 3092, mean: 0.323ms, p50: 0.301ms, p90: 0.347ms, p99: 0.743ms, p999: 1.119ms, max: 1.191ms
Current: hits: 3080, mean: 0.324ms, p50: 0.301ms, p90: 0.345ms, p99: 0.799ms, p999: 1.079ms, max: 1.183ms
Current: hits: 2993, mean: 0.334ms, p50: 0.305ms, p90: 0.407ms, p99: 0.811ms, p999: 1.095ms, max: 1.199ms
Current: hits: 2999, mean: 0.333ms, p50: 0.303ms, p90: 0.383ms, p99: 0.871ms, p999: 1.079ms, max: 1.127ms
Current: hits: 3087, mean: 0.324ms, p50: 0.303ms, p90: 0.347ms, p99: 0.719ms, p999: 1.119ms, max: 1.167ms
Current: hits: 2828, mean: 0.353ms, p50: 0.305ms, p90: 0.515ms, p99: 0.831ms, p999: 1.071ms, max: 1.279ms
Current: hits: 2787, mean: 0.358ms, p50: 0.309ms, p90: 0.515ms, p99: 0.855ms, p999: 1.071ms, max: 1.111ms
============== Done! =================
Ok: hits: 176876, mean: 0.339ms, p50: 0.303ms, p90: 0.435ms, p99: 0.859ms, p999: 1.191ms, max: 16.383ms
OverLimit: hits: 0, mean: 0.000ms, p50: 0.000ms, p90: 0.000ms, p99: 0.000ms, p999: 0.000ms, max: 0.000ms
Unknown: hits: 0, mean: 0.000ms, p50: 0.000ms, p90: 0.000ms, p99: 0.000ms, p999: 0.000ms, max: 0.000ms
Overall: hits: 176876, mean: 0.339ms, p50: 0.303ms, p90: 0.435ms, p99: 0.859ms, p999: 1.191ms, max: 16.383ms
0.09ms | | 0.0th %-ile
0.17ms | | 0.0th %-ile
0.26ms | | 0.0th %-ile
0.34ms | ******************************************************************* | 83.3th %-ile
0.42ms | ****** | 89.7th %-ile
0.51ms | *** | 92.8th %-ile
0.59ms | *** | 96.5th %-ile
0.68ms | * | 97.6th %-ile
0.77ms | * | 98.4th %-ile
0.85ms | * | 99.0th %-ile
0.94ms | * | 99.3th %-ile
1.02ms | * | 99.6th %-ile
1.10ms | * | 99.8th %-ile
1.19ms | * | 99.9th %-ile
Test setup
Limtador and Driver
1 EC2 instance
eu-north-1 (stockholm)
amazon linux 2023 AMI
type: c7i xlarge 4vCPU 8Gib Memory
Elasticache
Limits designed to never hit the threshold, so all requests increment the counter.
Results