Please note the query with regards to pgbouncer support in DHIS 2.40. The query came through from our Infrastructure engineer. We have been having issues recently with performance from some of instances and they are looking at ways to improve performance. Please advise when the pgbouncer will be available in 2.40.
"Hi there Comfort.
As we discussed via teams, can you reach out to the Dev team for DHIS2 and inquire from them if they have a timeline on using PG Bouncer with DHIS 2.40.
This is the notes about this on the reference guide for 2.39
Database datasource pool type. Supported pool types are: ## * c3p0 (default): For information see https://www.mchange.com/projects/c3p0/# # * hikari: For information see https://github.com/brettwooldridge/HikariCP## * unpooled: Some implementations might want to have more control over the pooling and database cluster architecture # (e.g., using PgBouncer as pool manager behind HAProxy for load balancing). In these cases, the internal pool is un-necessary # and gets in the way.db.pool.type=c3p0
So, from what I understand it is available on 2.39.5 but not on 2.40.
We have done some testing with the 2.39.5 Oslo release with PG Bouncer and have seen quite good gains from this, especially on big databases. From our testing Analytics runs are about 21% faster on the same hardware with PG Bouncer for full term analytics and 34% faster on 3 year runs for a database that is about 1TB in size with Analytics.
Using PG Bouncer also decreases our Web server’s memory footprint for java heap size by between 20 and 50% depending on load, meaning more Heap space for the actual work.
Queries and API calls are also much faster and yield between 25 to 50% better performance.
It eliminates the issue we have with tomcat threads not being released because of slow queries.
We want to continue testing but seeing as we are moving from 2.38 to 2.40, I am quite anxious to know when the unpooled option will become available for DHIS2 2.40.
If you require any other information, please feel free to reach out."
Kind Regards,
Comfort
1 post - 1 participant