Date
1 - 5 of 5
Benchmark for UAA performance
Zongwei Sun
We're having a situation where it took about 5 seconds to get auth TOKENs for 100 users (but only 100 ms for a single user). Does this sound right? Has anybody else done benchmark of UAA perf who can share your experience with me?
Thanks, Zongwei |
|
Filip Hanik
What request are you doing to get a token?
On Fri, Sep 11, 2015 at 11:52 AM, Zongwei Sun <Zongwei.Sun(a)huawei.com> wrote: We're having a situation where it took about 5 seconds to get auth TOKENs |
|
Siva Balan <mailsiva@...>
100ms to 200ms sounds about the right value to get an Oauth token. We did a
toggle quoted message
Show quoted text
benchmark with UAA and found out that out of the box, the auto reconfiguration sets the default JDBC connection pool value to 4. You will run out of connection pool if are trying to test with 100 users and your requests may be waiting for a JDBC connection to become available in the pool due to which you may be seeing 5+ second response times with 100 users. Check this github issue for more details on this - https://github.com/cloudfoundry/uaa/issues/165 -Siva On Fri, Sep 11, 2015 at 10:54 AM, Filip Hanik <fhanik(a)pivotal.io> wrote:
What request are you doing to get a token? |
|
Zongwei Sun
My understanding is calling POST on /auth/token 100 times in parallel. I'll find out more about the test scenarios when I'm able to reach them. Thanks!
|
|
Filip Hanik
Siva brings up a good point, you haven't really told us anything about your
environment :) On Fri, Sep 11, 2015 at 12:16 PM, Zongwei Sun <Zongwei.Sun(a)huawei.com> wrote: My understanding is calling POST on /auth/token 100 times in parallel. |
|