-
Notifications
You must be signed in to change notification settings - Fork 29
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
CLOUD-4211 Cloud clustering profiles should configure a distributed cache instead of a replicated one #404
Conversation
@rhusar , do we really need to add the web dist cache? That is the default in the ha wildfly configuration: https://github.com/wildfly/wildfly/blob/main/ee-feature-pack/galleon-shared/src/main/resources/layers/standalone/web-clustering/layer-spec.xml#L20 and https://github.com/wildfly/wildfly/blob/main/ee-feature-pack/galleon-shared/src/main/resources/feature_groups/infinispan-dist-web.xml#L10 |
52ee61e
to
5351a42
Compare
…ache instead of a replicated one - introduce 'sessions' cache to contain HTTP session data.
…ache instead of a replicated one - introduce 'beans' cache to contain SFSB session data.
@rhusar , merged. Thank-you. The wildfy-cloud-galleon-pack 7.0.1.Final will to contain this fix. |
Excellent, thanks! Will test. |
I forgot to reply to this one – but long story short, we wanted to change the configuration and finally rename the caches to something more reasonable as described on the Jira in more detail. |
Currently, our cloud tooling configures clustering in the cloud using a replicated cache mode which is suboptimal as it does not scale. Such cache mode does not scale and is not suited for applications in the cloud that are supposed to be scalable. In this mode Infinispan replicates all entries in the cache to all nodes in the cluster. It doesn't scale, as adding new nodes does not enlarge the cluster capacity. Moreover, we should relax the isolation level to READ_COMMITTED (from REPEATABLE_READ) and transaction mode to NONE (from BATCH).
Resolve
https://issues.redhat.com/browse/CLOUD-4211