Skip to content
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

Non-blocking health check for load balancers #276

Open
megian opened this issue Mar 14, 2024 · 0 comments
Open

Non-blocking health check for load balancers #276

megian opened this issue Mar 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@megian
Copy link
Contributor

megian commented Mar 14, 2024

Context

A new health check endpoint available at /lb-check was added in v23.0.2. The execution is running in the event loop which means this check is responsive also in overloaded situations when Keycloak needs to handle many requests waiting in request queue. This behavior is useful, for example, in multi-site deployment where we do not want to fail over to the other site under heavy load. The endpoint is currently checking availability of the embedded and external Infinispan caches. Other checks may be added later.

This endpoint is not available by default. To enable it, run Keycloak with feature multi-site. Proceed to Enabling and disabling features guide for more details.

Alternatives

Keep the current

@megian megian added the enhancement New feature or request label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant