-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Data Center, Enterprise
-
None
In Stash Data Center 3.11.0 a hidden hibernate.cache.mode property was added to allow selection of LOCAL Hibernate cache mode instead of DISTRIBUTED (the default).
In DISTRIBUTED mode, all nodes in the cluster pool their memory to cache DB entities but it can require a large number of inter-node operations to get and put entities. In LOCAL mode, each node caches entities independently and still requires inter-node communication to invalidate entries, but this communication is all asynchronous. LOCAL mode has shown significant performance and reliability improvements over DISTRIBUTED mode in performance testing and on production instances.
In Bitbucket Data Center 4.0, the new default value for the hibernate.cache.mode property is LOCAL, but can be overriden to DISTRIBUTED to get the previous (Stash 3.x) configuration.
- is related to
-
BSERV-7889 Improve consistency of Hibernate L2 cache, especially in LOCAL mode on a cluster
-
- Closed
-
- relates to
-
BSERV-8891 LOCAL L2 Hibernate caches may be inconsistent after split brain that later heals
-
- Closed
-
- mentioned in
-
Page Loading...