-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cluster stress tests. #20
Comments
Hey @gray380 I see you also have the same Good idea about running a stress test!
Where you able to sort this out? |
@ivangfr is this an expected behaviour (in general on a keycloak-cluster setup and/or with JDBC_PING)? |
Hi,
I'm testing postgres and 2 keycloak under docker swarm with traefik as a loadbalancer runnung in the same docker overlay network.
Keycloak 1:
Keycloak 2:
JGROUPSPING table
And I'm trying to run stress tests.
It's okay when one keycloak left the cluster (traefik sends requests to "survived" one):
Some logs:
Expected behavior:
Unexpected behavior:
JGROUPSPING table:
but when it comes back it tooks a time to reform the cluster:
Some logs:
JGROUPSPING table
so while it makes all of these connection refuse, suspect/unsuspect, remove/insert the container is already up and running and traefik sends part of requests to unready keyclock instance.
And the worst part is that sometimes the cluster failed to reform, I can see two different bind_addr for the same cluster_name in the JGROUPSPING.
best regards,
Serhiy.
The text was updated successfully, but these errors were encountered: