[keycloak-user] Keycloak very slow on retrieving "events"

Sarp Kaya akaya at expedia.com
Tue Jul 4 19:10:40 EDT 2017


Yes, I have a lot of events, but I thought it shouldn’t matter when picking the first 5 events.

Thanks,
Sarp

From: Stian Thorgersen <sthorger at redhat.com<mailto:sthorger at redhat.com>>
Reply-To: "stian at redhat.com<mailto:stian at redhat.com>" <stian at redhat.com<mailto:stian at redhat.com>>
Date: Wednesday, July 5, 2017 at 3:56 AM
To: Abdullah Sarp <akaya at expedia.com<mailto:akaya at expedia.com>>
Cc: "keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>" <keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>>
Subject: Re: [keycloak-user] Keycloak very slow on retrieving "events"

That's not good, it should be much quicker than that. Do you have a lot of events?

On 4 July 2017 at 08:41, Sarp Kaya <akaya at expedia.com<mailto:akaya at expedia.com>> wrote:
Hello,

When I click on Events, it takes very long time (more than a minute) just to display first 5 events. I checked what endpoint it uses and it’s using this:

"/auth/admin/realms/<realm-id>/events?first=0&max=5” endpoint.

I believe that there is something broken with the filtering option as it should never take more than a minute to just retrieve 5 results.

I’m using Keycloak 3.1.0 and MySQL for the database.
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user



More information about the keycloak-user mailing list