<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Are you benching this with the same user?  Or are there 10-20
      different users executing at the same time?  I ask because if they
      are different you have to factor in database access.  I think the
      default connection pool size for the DB is 20 connections.<br>
    </p>
    <p>Other things that could factor in:  what are you password hashing
      iterations (its a password policy).  Default is 1, but I don't
      know if you've bumped that to the recommended amount (20,000)
      which would greatly slow things down too.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/19/16 7:24 AM, Vaibhav Naldurgkar
      wrote:<br>
    </div>
    <blockquote
cite="mid:MA1PR01MB00085A4C2F5FCF544D40147A934A0@MA1PR01MB0008.INDPRD01.PROD.OUTLOOK.COM"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:12.0pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#333399">Hi All,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#333399"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#333399">I am using Keycloak
            1.9.3 with default configuration. Keycloak server is
            installed on RHEL 6.5 virtual image with 4 CPU , 8 GB RAM
            and java version is jdk1.8.0_73 We are trying to use
            keycloak as a OAuth provider. But when we try and generate
            token(<a class="moz-txt-link-freetext" href="http:///auth/realms/master/protocol/openid-connect/token">http:///auth/realms/master/protocol/openid-connect/token</a>)
            for more than 10-20 users the server gets too slow and cpu
            usage goes over 100%.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#333399">Any pointers on how
            to improve performance of keycloak OAuth provider. We need
            to support at least 200 concurrent users.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#333399"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#333399"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#333399">Thanks, Vaibhav<o:p></o:p></span></p>
      </div>
      <p>DISCLAIMER
        ==========
        This e-mail may contain privileged and confidential information
        which is the property of Persistent Systems Ltd. It is intended
        only for the use of the individual or entity to which it is
        addressed. If you are not the intended recipient, you are not
        authorized to read, retain, copy, print, distribute or use this
        message. If you have received this communication in error,
        please notify the sender and delete all copies of this message.
        Persistent Systems Ltd. does not accept any liability for virus
        infected mails.
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>