[keycloak-user] Very slow admin console within keycloak cluster

Stian Thorgersen sthorger at redhat.com
Wed Apr 27 01:30:29 EDT 2016


Did you get anywhere with this? It's not something that we've seen or have
others report, so not sure what is going on here.

Even though the admin console is a bit heavy on the amount of requests it
performs to the server it shouldn't take 5 seconds. These are requests that
should typically be very fast.

Can you elaborate a bit on what is slow (is it all pages in the console or
just some things)? Do you have a lot of realms, users, roles or clients in
the database? Also, what does the load time of the various requests look
like, is there some that are particularly slow or are all slow?

On 21 April 2016 at 09:56, Sascha SKORUPA <sascha.skorupa at traveltainment.de>
wrote:

> Hi,
>
>
>
> we are currently setting up our keycloak cluster (version 1.9.1) for the
> production environment. The cluster consists of two keycloak nodes running
> in standalone-ha mode whereby jgroups is configured to use tcping instead
> of multicast and loadbalancing is done via modcluster. So far so good, the
> responses of the KC rest services are fast enough and everthing works as
> expected.
>
>
>
> The only problem what we still have is that the admin console is very slow
> if it is invoked on the cluster ip. For example the request to render the
> realm overview page  takes more than 5 seconds (
> https://${CLUSTER}/auth/admin/realms). The problem is additionally
> increased because the GET realms request is sent up to four times.
>
>
>
> If we take out one keycloak node in the loadbalancer the admin console is
> essentially faster. Can anyone help or does anybody have an idea what can
> be the misconfiguration here? Or is this a known issue that the admin
> console is slow in cluster mode?
>
>
>
> Thanks in advance!
>
>
>
> Cheers,
>
> sascha
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160427/a64fb9b9/attachment.html 


More information about the keycloak-user mailing list