Hello Simon.
There are several reasons:
- I would have to configure Django to open a new connection to the pooling component at each request and, well, we've moved past PHP at this time... :)
- I have zero experience with either pgbouncer or pgpool, and they both seem to perform the same tasks, so it would be yet another decision that I would have to make and using only second-hand experience. In addition, none of them seem to have official Docker images.
- Another component that I would have to manage, and I already have an sqlproxy component between Django and the DB when I need to access Cloud SQL instances in GCP.
- Doubling of the number of connections of the server, the same amount of web client connections would be reflected in DB connections to the pooler component.
- All in all IMO the connection pooling problem is better handled in process, and it's not rocket science, there are already libs for this, I'm just missing 10% help from Django.