performance
Articles tagged with performance.
How Much RAM and CPU Does Keycloak Need in Production?
How much RAM and CPU does Keycloak need? What drives resource use, realistic starting points, JVM heap sizing, and how…
Why Keycloak Logins Get Slow With Lots of Groups (and How to Fix It)
Fix slow Keycloak logins caused by many groups or roles: how group and role resolution works, why it scales poorly,…
Fixing Keycloak's 431 'Request Header Fields Too Large'
Fix Keycloak HTTP 431 'Request Header Fields Too Large' errors: raise Quarkus header limits and shrink bloated tokens by trimming…

How Many Realms Can One Keycloak Cluster Handle? We Measured It
How many realms one Keycloak cluster can handle, measured: the cache settings to reach thousands, why restarts hit 7.5 minutes,…

Top 7 Keycloak Cluster Configuration Best Practices
Learn the top 7 Keycloak cluster configuration best practices covering discovery, Infinispan caching, database pooling, sticky sessions, and monitoring.

Keycloak on Redis: Benchmarking Locke vs Embedded Infinispan
A production benchmark of Keycloak caching on Redis (Locke) vs embedded Infinispan: ~100% throughput parity, sub-second node-loss recovery vs 31-40s.
Keycloak Database Tuning: PostgreSQL Optimization Guide
Optimize PostgreSQL for Keycloak with connection pooling, index tuning, autovacuum configuration, session table management, and event store partitioning.

Scaling Keycloak: Clustering, Caching, and Load Testing for Production
Learn how to scale Keycloak for production with clustering, Infinispan caching, database optimization, and load testing strategies.
Stay ahead on identity & security
Get tutorials, product updates, and Keycloak tips delivered to your inbox.