Liferay 7 GA7 CE - Cluster shared cacheLiferay 7 GA7 CE - Cluster shared cachehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1117992212024-03-29T07:03:39Z2024-03-29T07:03:39ZRE: Liferay 7 GA7 CE - Cluster shared cacheOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1118006702018-12-13T13:12:47Z2018-12-13T13:12:47Z<blockquote>
<div class="quote-title">Gromek Gromek:</div>
<div class="quote">
<div class="quote-content">
<p>We are trying to configure a cluster liferay 7.06 GA7 CE and we
didn't manage to share the caches. We tried ehcache and
terracotta and the result is always the same, it doesn't work.</p></div></div></blockquote>
<p>Please define "doesn't work" and what you've actually done.</p>
<p>Note that typically the caches are not <em>shared</em> between the
nodes - each node has <em>its own</em> cache. What the clustering
components do is <em>not replication</em> of the cache state, but
<em>invalidation</em> of each other's cache in case an object has been
modified. Those machines will read this object from database (then in
its new state) when (and if) they need to access it next time.</p>Olaf Kock2018-12-13T13:12:47ZLiferay 7 GA7 CE - Cluster shared cacheGromek Gromekhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1117992202018-12-13T09:17:23Z2018-12-13T09:17:23Z<p>
<br /> Good morning,</p>
<p>
<br /> We are trying to configure a cluster liferay 7.06 GA7 CE and we
didn't manage to share the caches. We tried ehcache and terracotta and
the result is always the same, it doesn't work.</p>
<p>
<br /> We have followed all the threads and documentation we have
found and none of the solutions implements shared cache when
configuring the cluster, although the nodes see each other and
communicate perfectly sharing the content.<br /> This only happens in
unicast environments, basically in cloud environments (gcloud, aws,
etc...).<br /> Does anyone know of a sol