Is more related to your applications and how many nested queries (api-db-calls) you run.
Gustaf, when you mention "i would as well recommend to set maxidle and maxopen to 0, but this does not have to do with your performace problems"; can you elaborate why?