High availability with low traffic


I want to setup Keycloak in a environment that provides high availability by eliminating all single points of failures. However my instance is not expected to have a high traffic, so I don’t need a complex setup either.

The most trivial setup I can think of that provides high availability is composed of 2 keycloak instances installed on 2 distinct datacenters, and 2 databases that are also installed on the two datacenters. The two databases are replicated, and there’s a reverse proxy that redirects to either keycloak instance.

Assuming this is a viable setup, then in both keycloak machines, is it better to have Infinispan and Keycloak as two separate Wildfly instances, or should they reside within the same Wildfy instance ?

More globally, why is the Cross-Datacenter Replication Mode marked as a technology preview ? What part of it is not fully supported ? Is there any other operating mode alternative to achieve high availability across two DCs?