Skip to content

0.9.2

Compare
Choose a tag to compare
@buger buger released this 27 Oct 12:02
· 909 commits to master since this release

Limiter now can be applied to any input/output, and can be set both in percentage or absolute value.

# Replay 10% of traffic
gor --input-raw=":28021" --output-http="staging.com|10%"

Percentage based limiter should solve #113 as well.

File input also have its own rate limiting algorithm and instead of dropping requests in can slowdown or speedup requests flow. This means that now you can actually do simple load testing with gor like this:

# Replay at 2x rate
gor --input-file="requests.gor|200%" --output-http="staging.com"

Load testing current works only for file input and only when you set limiter in percents.