Part of #977.
Add a PgBouncer sidecar to the Postgres deployment path. Without pooling, each app instance holds a dedicated Postgres connection; above ~20 concurrent reviews the connection limit becomes the ceiling.
Scope:
bitnami/pgbouncer service in the pgbouncer compose profile
- Transaction-mode pooling (max_client_conn=200, default_pool_size=20)
- Operator routes
DATABASE_URL to pgbouncer:5432 instead of postgres:5432
- SCRAM-SHA-256 authentication passthrough
Part of #977.
Add a PgBouncer sidecar to the Postgres deployment path. Without pooling, each app instance holds a dedicated Postgres connection; above ~20 concurrent reviews the connection limit becomes the ceiling.
Scope:
bitnami/pgbouncerservice in thepgbouncercompose profileDATABASE_URLtopgbouncer:5432instead ofpostgres:5432