Keycloak Performance Issue when it is used in Multi Realm
324 views
Skip to first unread message
Manjunath R Gowda
unread,
Apr 4, 2022, 10:47:30 AM4/4/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Keycloak Dev
Hi,
We are trying to create the multi tenant web application so we are using the multi realm concept from the keycloak to solve the problem. but as we increase the keycloak realm to 500+ it is taking longger time to provide HTTP response which is causing us lot of damage and also the admin console is not at all loading in the front end.
We are running keycloak in Kubernate and which is connected to Postgres database
Is there something we are missing or the keycloak performance is always slow when it is used in multi realm?
Manjunath R Gowda
unread,
Apr 5, 2022, 4:00:17 AM4/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Keycloak Dev
Anyone? Any update?
Garth
unread,
Apr 5, 2022, 4:02:37 AM4/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Till Markus (IOC/PAU1)
It is a known issue that Keycloak has serious performance problems with over 400 realms, regardless of the hardware it is run on. I don’t have it in front of me, but there are several tickets and discussions on this issue. If you are using it to separate realm per tenant, you can use more than one Keycloak cluster to solve this problem.