<div dir="ltr">I'm just adding basic users though. Are you adding more attributes, credentials and role mappings at the same time?<div><br></div><div>Also, are you running clustered or just standalone?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 June 2016 at 06:19, Stian Thorgersen <span dir="ltr"><<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've ran with a standard 2.0.0.CR1 server and only changes are adding "<eviction max-entries="10000" strategy="LRU"/>" to realmVersions cache.<br><div><br></div><div>I've now created 10 million users over night and still have steady throughput of 200 user/sec and memory around 150. What db are you using? I'm just using default H2 db at the moment,</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 29 June 2016 at 17:51, Chris Hairfield <span dir="ltr"><<a href="mailto:chairfield@gmail.com" target="_blank">chairfield@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><i>My replies started bouncing; guess I sent too many pictures ;)</i><div><br></div><div><div>I'd be perfectly happy with that throughput. What other parameters did you run it under?</div><div><br></div><div>JAVA_OPTS: "-server -Xms1g -Xmx4g -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -XX:+UseParallelGC -XX:ParallelGCThreads=4"</div><div><br></div><div>Run command: bin/standalone.sh -c standalone.xml</div><div><br></div><div>My standalone.xml:</div><div> <cache-container name="keycloak" jndi-name="infinispan/Keycloak"></div><div> <local-cache name="realms"/></div><div> <local-cache name="users"></div><div> <eviction max-entries="10000" strategy="LRU"/></div><div> </local-cache></div><div> <local-cache name="sessions"/></div><div> <local-cache name="offlineSessions"/></div><div> <local-cache name="loginFailures"/></div><div> <local-cache name="work"/></div><div> <local-cache name="realmVersions"></div><div> <transaction mode="BATCH" locking="PESSIMISTIC"/></div><div> <eviction max-entries="10000" strategy="LRU"/></div><div> </local-cache></div><div> </cache-container></div><div><br></div><div>You can see memory starting to thrash at a higher rate (up to 1.4 GB). I only created 22k users in this test.</div></div></div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br></div>