Hi Folks,
I'm doing some testing w/ Guava's rate-limiter, using it in it's warm-up rate-limiter configuration. I'd expect it to ramp up from 0 to the max-allowed-rate over the specified time.
The problems I see are captured in the embedded image:

In the 1st portion (start to 15:55), I request 4 minutes of warm-up, w/ a max-rate of 350 permits/second.
Problems:
- the warm-up appears to take more like 10 minutes.
- the final rate is a fair bit less than 350 permits / second
In the 2nd portion of the graph (15:55 to end), I again ask for 4 minutes of warm-up, and a max rate of 700.
Problems:
- the warm-up doesn't appear to work at all
- the final rate is much less than the requested 700 / second
On both occasions, I had ~1K / second requests hitting the rate limiter. Am I grossly misunderstanding how to use this rate limiter? (The coder did a great job commenting the code, w/ examples even, but unfortunately, I cannot follow some of the concepts.)
Thanks,
BIM