title: Npgsql and PgBouncer polling
body: <p>We are currently using Pgbouncer(installed on database server) for database connection pooling. At the same time we use Npgsql Library which has its own connection pool. I have read recommendations that we should disable pooling in Npgsql and use only Pgbouncer. </p>
  
  <p>There is a performance problem when we disable connection pooling in Npgsql.
  According to my test, it takes 100 ms to connect to pgbouncer. Latency to server with PgBouncer is &lt;1ms.</p>
  
  <p>Executing 5 queries with 5 connections will take more than 500ms, which is too much.</p>
  
  <p>Are we using it correct? That connection latency is killing my performance.</p>