title: Nginx or LVS for Node.js load balance?
body: <p>Our project needs to do TCP packet load balance to node.js .</p>
  
  <p>The proposal is：  (Nginx or LVS) + Keepalived + Node Cluster</p>
  
  <p><img src="https://i.stack.imgur.com/sZL2N.png" alt="enter image description here"></p>
  
  <p>The questions:</p>
  
  <ol>
  <li>The high concurrent client connections to TCP server needs to be long-lived. Which one is more suitable, Nginx or LVS?</li>
  <li>We need to allocate different priority levels for node master on the Master server (the priority of localhost server will be higher than the remote servers). Which one can do this, Nginx or LVS?</li>
  <li>Whose CPU utilization is smaller and the throughput is higher, Nginx or LVS?</li>
  <li>Any recommended documents for performance benchmarking/function comparison between Nginx and LVS?</li>
  </ol>
  
  <p>At last, we wonder whether our proposal is reasonable. Is there any other better proposals or component to choose?</p>