Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3.) 1-hour test execution with high load (tokens were generated between 1-2 seconds on 15 threads)- without token eviction:

Code Block
perf.test.usecase.knoxtoken.numOfThreads=15
perf.test.usecase.knoxtoken.testDurationInSecs=3600
perf.test.usecase.knoxtoken.requestDelayLowerBoundInSecs=1
perf.test.usecase.knoxtoken.requestDelayUpperBoundInSecs=2


Number of tokens createdNumber of tokens renewedAverage response time (token creation)*Average response time (token renewal)


ms ms


4.) 1-hour test execution with high load (tokens were generated between 1-2 seconds on 15 threads) - with token eviction:

In this test I kept the previous config and, additionallyAdditionally, I lowered the Token TTL to 10 minutes from 10 hours (by default, the token eviction grace period is set to 0). That triggered automated token eviction every 10 minutes.

Number of tokens createdNumber of tokens renewedAverage response time (token creation)*Average response time (token renewal)
49596143085.5 ms19.09 ms


Memory graph (using JConsole)

Image Added

*:  There is a short warmup period at the beginning of each test round (see test results where token creation time takes ~2 seconds a couple of times). We could even see better results if those values were not recorded at the end (the longer the test period the better the average result is).