Do i need a separate elastic search JVM?Do i need a separate elastic search JVM?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1131081282024-03-29T00:25:15Z2024-03-29T00:25:15ZRE: Do i need a separate elastic search JVM?Andrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1131498722019-04-11T14:03:05Z2019-04-11T14:03:05Z.. and I'm sure David would also agree that YES you want to have an Elastic Cluster. I would even advocate for a minimum of 3 nodes. Search is so easy to use in Liferay and an excellent way to offload read operations from your database to "shared the load" across all your resources.Andrew Jardine2019-04-11T14:03:05ZRE: Do i need a separate elastic search JVM?David H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1131457162019-04-11T13:25:29Z2019-04-11T13:25:29ZOkay, everyone is quoting doco and stuff but not really answering the question, IMHO.<br /><br />You must offload Elastic because it is a huge memory and CPU hog.<br /><br />You might think you are not using search, but Liferay uses it for everything.<br /><br />When you start Liferay w/ the embedded Elastic, it takes some of the memory for its own purposes, limiting the resources available to Liferay and serving traffic. It will apply a hit to response time because it is servicing the internal requests, etc.<br /><br />So yes, you absolutely need to offload Elastic to a separate JVM whether you think you are using search or not.David H Nebinger2019-04-11T13:25:29ZRE: Do i need a separate elastic search JVM?John Josephhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1131428852019-04-11T12:55:20Z2019-04-11T12:55:20Z<blockquote>As you say you have access to Liferay Support, If you finally use Embedded Elasticsearch in production and you have any problem there, Liferay support service won't be able to help you. <br /></blockquote>This is one of my concern tooJohn Joseph2019-04-11T12:55:20ZRE: Do i need a separate elastic search JVM?John Josephhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1131422562019-04-11T12:54:14Z2019-04-11T12:54:14Z<blockquote>Christoph Rabel<br />But search is used widely, not only in backend. Do you use Asset Publisher? Well, it uses search internally. ES is used by several components internally.</blockquote><br /><br />I dont use Asset Publisher either. Lets say if i go with Elastic Search in a different JVM, do i need a cluster or a will i be ok with a single node?John Joseph2019-04-11T12:54:14ZRE: Do i need a separate elastic search JVM?Jorge Diazhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1131125972019-04-10T08:15:33Z2019-04-10T08:15:33ZHi John Joseph,<br /><br />Embedded Elasticsearch is not supported in production environments, see following page: <a href="https://dev.liferay.com/discover/deployment/-/knowledge_base/7-1/configuring-elasticsearch-for-liferay-0#embedded-vs-remote-operation-mode">https://dev.liferay.com/discover/deployment/-/knowledge_base/7-1/configuring-elasticsearch-for-liferay-0#embedded-vs-remote-operation-mode<br /><br /></a><blockquote><em></em><span style="font-size: 12px;"></span><span style="font-size: 14px;"><em><strong>Embedded vs. Remote Operation Mode</strong></em></span><span style="font-size: 12px;"><br /><em><br />When you start Liferay Portal, this message is displayed in the log:</em><br /></span><blockquote><em><span style="font-size: 12px;">2018-12-10 16:20:32.987 WARN [Elasticsearch initialization thread][EmbeddedElasticsearchConnection:288] Liferay is configured to use embedded Elasticsearch as its search engine. Do NOT use embedded Elasticsearch in production. Embedded Elasticsearch is useful for development and demonstration purposes. Refer to the documentation for details on the limitations of embedded Elasticsearch. Remote Elasticsearch connections can be configured in the Control Panel.</span></em><br /></blockquote><span style="font-size: 12px;"><em>When you install Liferay Portal, Elasticsearch is already embedded. In embedded mode, Elasticsearch search runs in the same JVM to make it easy to test-drive with minimal configuration. Running both servers in the same process has drawbacks:<br /></em></span><ul style="list-style: disc outside;"><li><span style="font-size: 12px;"><em>Elasticsearch must use the same JVM options as Liferay Portal.<br /></em></span></li><li><span style="font-size: 12px;"><em>Liferay Portal and Elasticsearch compete for resources.</em></span></li></ul></blockquote>As you say you have access to Liferay Support, If you finally use Embedded Elasticsearch in production and you have any problem there, Liferay support service won't be able to help you.<br /><br />You will also have problems in case you are using a Liferay cluster, as each node will have its own Embedded Elasticsearch and their data won't be sync, so searchs won't work properly.Jorge Diaz2019-04-10T08:15:33ZRE: Do i need a separate elastic search JVM?Christoph Rabelhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1131122682019-04-10T08:04:35Z2019-04-10T08:04:35ZWell, you probably will receive only diplomatic answers here too.<br /><br />It will work with the builtin ES instance.<br />But search is used widely, not only in backend. Do you use Asset Publisher? Well, it uses search internally. ES is used by several components internally.<br /><br />Personally, I would use the builtin ES instance only in development environments, but in the end, it's your choice.Christoph Rabel2019-04-10T08:04:35ZDo i need a separate elastic search JVM?John Josephhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1131081272019-04-10T05:11:06Z2019-04-10T05:11:06ZHi All,<br />&l