This is a simple project to load test YARP.
To prepare server:
- Install asyncIO:
pip install aiohttp
- Run
python server.py
. This will start an http server on127.0.0.1:5000
. Thehttp://127.0.0.1:5000/hello
will return a simple greeting with 1000 random integers. - In a separate terminal window start reverse proxy:
dotnet run --framework net7.0
. This will start a proxy onhttp://localhost:6000
. It will rate limit all requests to 2000 QPS and requests with dgbxml query parameter to 1 QPS.
Use your choise of client (e.g. Netling) to create a load on server.