-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLOUD-4211 Cloud clustering profiles should configure a distributed c…
…ache instead of a replicated one. 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).
- Loading branch information
Showing
9 changed files
with
35 additions
and
53 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...pack/layers/clustering/added/src/main/resources/feature_groups/os-infinispan-dist-web.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature-group-spec name="os-infinispan-dist-web" xmlns="urn:jboss:galleon:feature-group:1.0"> | ||
<feature-group name="infinispan-dist-web"/> | ||
<feature-group name="os-infinispan-web-repl-cache"/> | ||
<feature-group name="os-infinispan-web-dist-cache"/> | ||
</feature-group-spec> |
15 changes: 15 additions & 0 deletions
15
...ayers/clustering/added/src/main/resources/feature_groups/os-infinispan-web-dist-cache.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature-group-spec name="os-infinispan-web-dist-cache" xmlns="urn:jboss:galleon:feature-group:1.0"> | ||
<feature spec="subsystem.infinispan"> | ||
<feature spec="subsystem.infinispan.cache-container"> | ||
<param name="cache-container" value="web"/> | ||
<param name="default-cache" value="dist"/> | ||
<feature spec="subsystem.infinispan.cache-container.distributed-cache"> | ||
<param name="distributed-cache" value="dist"/> | ||
<feature spec="subsystem.infinispan.cache-container.distributed-cache.component.expiration"> | ||
<param name="interval" value="0"/> | ||
</feature> | ||
</feature> | ||
</feature> | ||
</feature> | ||
</feature-group-spec> |
24 changes: 0 additions & 24 deletions
24
...ayers/clustering/added/src/main/resources/feature_groups/os-infinispan-web-repl-cache.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
jboss/container/wildfly/galleon/cloud-galleon-pack/layers/clustering/module.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...leon/fp-content/config/added/src/main/resources/feature_groups/os-infinispan-dist-web.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature-group-spec name="os-infinispan-dist-web" xmlns="urn:jboss:galleon:feature-group:1.0"> | ||
<feature-group name="infinispan-dist-web"/> | ||
<feature-group name="os-infinispan-web-repl-cache"/> | ||
<feature-group name="os-infinispan-web-dist-cache"/> | ||
</feature-group-spec> |
15 changes: 15 additions & 0 deletions
15
...p-content/config/added/src/main/resources/feature_groups/os-infinispan-web-dist-cache.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature-group-spec name="os-infinispan-web-dist-cache" xmlns="urn:jboss:galleon:feature-group:1.0"> | ||
<feature spec="subsystem.infinispan"> | ||
<feature spec="subsystem.infinispan.cache-container"> | ||
<param name="cache-container" value="web"/> | ||
<param name="default-cache" value="dist"/> | ||
<feature spec="subsystem.infinispan.cache-container.distributed-cache"> | ||
<param name="distributed-cache" value="dist"/> | ||
<feature spec="subsystem.infinispan.cache-container.distributed-cache.component.expiration"> | ||
<param name="interval" value="0"/> | ||
</feature> | ||
</feature> | ||
</feature> | ||
</feature> | ||
</feature-group-spec> |
24 changes: 0 additions & 24 deletions
24
...p-content/config/added/src/main/resources/feature_groups/os-infinispan-web-repl-cache.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters