How to apply database connection pooling on Frappe?

I am new to this. Please is there a way to create connection pooling using AWS RDS mariadb with frappe?