<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How does Qlik Sense Load Balance CPU, RAM, Users in a multi-node environment? in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/How-does-Qlik-Sense-Load-Balance-CPU-RAM-Users-in-a-multi-node/m-p/1564083#M13133</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;How does Qlik Sense Load Balance CPU, RAM, Users in a multi-node environment?&lt;/P&gt;&lt;P&gt;We have a multi-node environment where we can see sometimes Server 1 CPU spikes, sometimes Server 2 spikes in RAM, sometimes one of the servers spiking in handling concurrent users. I am taking this info from Monitoring Apps.&lt;/P&gt;&lt;P&gt;How does Qlik decide which server to utilise when it comes to these resources/activities?&lt;/P&gt;&lt;P&gt;We have all 5 services enabled in each node.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2019 15:34:39 GMT</pubDate>
    <dc:creator>mwallman</dc:creator>
    <dc:date>2019-04-02T15:34:39Z</dc:date>
    <item>
      <title>How does Qlik Sense Load Balance CPU, RAM, Users in a multi-node environment?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-does-Qlik-Sense-Load-Balance-CPU-RAM-Users-in-a-multi-node/m-p/1564083#M13133</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;How does Qlik Sense Load Balance CPU, RAM, Users in a multi-node environment?&lt;/P&gt;&lt;P&gt;We have a multi-node environment where we can see sometimes Server 1 CPU spikes, sometimes Server 2 spikes in RAM, sometimes one of the servers spiking in handling concurrent users. I am taking this info from Monitoring Apps.&lt;/P&gt;&lt;P&gt;How does Qlik decide which server to utilise when it comes to these resources/activities?&lt;/P&gt;&lt;P&gt;We have all 5 services enabled in each node.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-does-Qlik-Sense-Load-Balance-CPU-RAM-Users-in-a-multi-node/m-p/1564083#M13133</guid>
      <dc:creator>mwallman</dc:creator>
      <dc:date>2019-04-02T15:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: How does Qlik Sense Load Balance CPU, RAM, Users in a multi-node environment?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-does-Qlik-Sense-Load-Balance-CPU-RAM-Users-in-a-multi-node/m-p/1564176#M13138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/292"&gt;@mwallman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Have a look at the Qlik Support article "&lt;A href="https://support.qlik.com/articles/000027439" target="_self"&gt;Load Balancing in Qlik Sense&lt;/A&gt;".&lt;/P&gt;
&lt;P&gt;More information can be found on the Qlik Sense help site &lt;A href="https://help.qlik.com/en-US/sense/February2019/Subsystems/ManagementConsole/Content/Sense_QMC/create-load-balancing-rules.htm" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;-Chip&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 19:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-does-Qlik-Sense-Load-Balance-CPU-RAM-Users-in-a-multi-node/m-p/1564176#M13138</guid>
      <dc:creator>Chip_Matejowsky</dc:creator>
      <dc:date>2019-04-02T19:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How does Qlik Sense Load Balance CPU, RAM, Users in a multi-node environment?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-does-Qlik-Sense-Load-Balance-CPU-RAM-Users-in-a-multi-node/m-p/1564623#M13144</link>
      <description>&lt;P&gt;It's ultimately pure round robin. But to give it some technical color, let's break this down into it's components. When a user opens the Hub there are the following dependencies:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A virtual proxy:
&lt;UL&gt;
&lt;LI&gt;This defines the authentication mechanism which will be used&lt;/LI&gt;
&lt;LI&gt;A given virtual proxy can have one to many Engines load balanced against this
&lt;UL&gt;
&lt;LI&gt;What apps are available on each Engine is governed by the Load Balancing Rules in place. By default all apps except the apps in the Monitoring Apps stream are load balanced to RIM nodes&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;A session on the Engine
&lt;UL&gt;
&lt;LI&gt;Type 1: A rendering of the Hub, i.e. providing an app list&lt;/LI&gt;
&lt;LI&gt;Type 2: Delivering a particular app&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So in a scenario where a user accesses a virtual proxy, there is an array of available Engines.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;User 1:
&lt;UL&gt;
&lt;LI&gt;Engine 1 in the list will render the Hub&lt;/LI&gt;
&lt;LI&gt;The first app opened will be routed to the next Engine which has the app available (from the load balancing rules); let's assume that all apps are on all nodes so it'll be Engine 2&lt;/LI&gt;
&lt;LI&gt;The second app will be routed to the next Engine which has the app available; with assumptions this will be Engine 3&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;User 2:
&lt;UL&gt;
&lt;LI&gt;Engine 4 will render the Hub&lt;/LI&gt;
&lt;LI&gt;First app --&amp;gt; Engine 5&lt;/LI&gt;
&lt;LI&gt;....&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Bringing it back to the crux of your question, it's round robin so there are scenarios where Engines can be overloaded. In these scenarios, it can be advantageous to explore pinning applications to nodes. Typically this is done for the largest apps or for a specified stream. With app pinning, you can ensure that 1 to many Engines solely deliver requests for those apps. This increases the re-use of cache rather than diffusing the consumption of those apps across all the available Engines.&lt;/P&gt;
&lt;P&gt;In terms of determining&amp;nbsp;&lt;EM&gt;which&lt;/EM&gt; apps to target, generally folks know what their largest apps are, but a tool like&amp;nbsp;&lt;A href="https://github.com/eapowertools/qs-app-metadata-analyzer/" target="_blank"&gt;https://github.com/eapowertools/qs-app-metadata-analyzer/&lt;/A&gt;&amp;nbsp;can be used in a pinch. Now the RAM measurement that it provides is purely based on the data model and not the visualization layers, so note that. But it's good enough for a first approximation of things. It also does a good job of visualizing the effective result of the interaction of the load balancing rules in the environment.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 13:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-does-Qlik-Sense-Load-Balance-CPU-RAM-Users-in-a-multi-node/m-p/1564623#M13144</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-04-03T13:45:44Z</dc:date>
    </item>
  </channel>
</rss>

