<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Why we need Liferay clustering?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119411604" />
  <subtitle>Why we need Liferay clustering?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119411604</id>
  <updated>2026-04-04T08:03:06Z</updated>
  <dc:date>2026-04-04T08:03:06Z</dc:date>
  <entry>
    <title>RE: Why we need Liferay clustering?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119416016" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119416016</id>
    <updated>2020-06-16T13:47:32Z</updated>
    <published>2020-06-16T13:47:32Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Maulin Patel:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;1. Why we need Liferay clustering. Instead, can I use one DB for two different servers? &lt;br /&gt;2. I am aware of Lucene cache will be the problem but what if I disable Lucene cache?&lt;br /&gt;3. Someone in this thread tries to disable the cache but got some error. What was the issue and who can I resolve it?&lt;br /&gt;&lt;a href="https://liferay.dev/forums/-/message_boards/message/16212310"&gt;https://liferay.dev/forums/-/message_boards/message/16212310&lt;/a&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The &amp;#34;lucene cache&amp;#34; only affects the index. There&amp;#39;s also hibernate-level caching provided by EhCache to hold retrieved entities.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Liferay clustering sends out a cluster-wide notification during saves so any nodes holding the now-stale entities will eject them from the caches and re-retrieve as necessary.&lt;br /&gt;&lt;br /&gt;And before you say &amp;#34;Oh, I&amp;#39;ll just disable those too&amp;#34;, that means you&amp;#39;ll be turning every data request into a DB request which which dramatically impact overall performance. Liferay is tuned to leverage caching to reduce overhead; eliminating cache will eliminate all of that tuning, performance will suffer as a result.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2020-06-16T13:47:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Why we need Liferay clustering?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119415667" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119415667</id>
    <updated>2020-06-16T13:21:39Z</updated>
    <published>2020-06-16T13:21:39Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Maulin Patel:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;1. Why we need Liferay clustering. Instead, can I use one DB for two different servers? &lt;br /&gt;2. I am aware of Lucene cache will be the problem but what if I disable Lucene cache?&lt;br /&gt;3. Someone in this thread tries to disable the cache but got some error. What was the issue and who can I resolve it?&lt;br /&gt;&lt;a href="https://liferay.dev/forums/-/message_boards/message/16212310"&gt;https://liferay.dev/forums/-/message_boards/message/16212310&lt;/a&gt;&lt;/blockquote&gt;&lt;br /&gt;1. No. Because you&amp;#39;ll run into issues.&lt;br /&gt;2. There&amp;#39;s no more lucene since version 7.0, and you shouldn&amp;#39;t run any older version by now&lt;br /&gt;3. Who cares? As soon as that issue is solved, you&amp;#39;ll run into the next one. &lt;br /&gt;If you have two or more servers serving your load, just configure a proper cluster. That&amp;#39;s significantly less effort than going any other route.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-06-16T13:21:39Z</dc:date>
  </entry>
  <entry>
    <title>Why we need Liferay clustering?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119411603" />
    <author>
      <name>Maulin Patel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119411603</id>
    <updated>2020-06-16T12:28:19Z</updated>
    <published>2020-06-16T12:28:19Z</published>
    <summary type="html">1. Why we need Liferay clustering. Instead, can I use one DB for two different servers? &lt;br /&gt;2. I am aware of Lucene cache will be the problem but what if I disable Lucene cache?&lt;br /&gt;3. Someone in this thread tries to disable the cache but got some error. What was the issue and who can I resolve it?&lt;br /&gt;&lt;a href="https://liferay.dev/forums/-/message_boards/message/16212310"&gt;https://liferay.dev/forums/-/message_boards/message/16212310&lt;/a&gt;</summary>
    <dc:creator>Maulin Patel</dc:creator>
    <dc:date>2020-06-16T12:28:19Z</dc:date>
  </entry>
</feed>
