Skip to content

ofriedma/ratelimit_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ratelimit_simulator

This project purpose is to test rate limiting algorithm easily and to decide about the most suitable algoorithm to count requests

please compile it like this: g++ -pthread -ltbb -lboost_coroutine -lboost_system -std=c++2a simulator.cc -o simulator

./simulator <num_qos_tenants> <req_size>

This is the argument order

num reqs - the number of requests each tenant send num_qos_tenants - number of tenants to test req_size - each request size backend_bandwidth - each request bandwidth (it is not overall but calculated for each request separately) num retries - how many retries until giving up on the request wait between retries - how many ms to wait before retrying ops limit - per ops/s for each tenant bytes limit - per bytes/s for each tenant

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages