title: Best place to install pgBouncer for best performance (webserver or database)
body: <p>I have the following scenario: </p>
  
  <ul>
  <li>2 to 5 <code>WebServers Apache</code> + <code>php</code> connecting on a single <code>postgresql</code> database. (the number of server's can variate to the traffic).</li>
  <li>Dedicated <code>PostgreSQL</code> (9.3) installed on the same network.</li>
  </ul>
  
  <p>What is the best place to install <code>pgBouncer</code> in that scenario?</p>
  
  <ul>
  <li>Install <code>pgBouncer</code> on multiple webservers (each webserver with your own installation)</li>
  <li>Install <code>pgBouncer</code> on database machine.</li>
  </ul>