Skip to content

mortid0/gateway_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple project to load test YARP.

To prepare server:

  1. Install asyncIO: pip install aiohttp
  2. Run python server.py. This will start an http server on 127.0.0.1:5000. The http://127.0.0.1:5000/hello will return a simple greeting with 1000 random integers.
  3. In a separate terminal window start reverse proxy: dotnet run --framework net7.0. This will start a proxy on http://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.

About

Test getaway implementation with C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published