1-Click PgBouncer Installation - Connection Pooler for PostgreSQL #795
-
Applications built on serverless architectures can have a large number of open connections to the database server, and may open and close database connections at a high rate, exhausting database memory. PgBouncer is a lightweight connection pooler for PostgreSQL, and a one-click installation setup could be nice :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @Probabilista, Pgbouncer addition is being discussed here: supabase/postgres#33. Feel free to chime in. We also had a previous discussion about this: #775 Note that the REST API already has a pool. So instead of connecting directly to pg in serverless, you could issue a request to the REST API(through supabase-js) and that will take care of managing connections. |
Beta Was this translation helpful? Give feedback.
Hey @Probabilista,
Pgbouncer addition is being discussed here: supabase/postgres#33. Feel free to chime in.
We also had a previous discussion about this: #775
Note that the REST API already has a pool. So instead of connecting directly to pg in serverless, you could issue a request to the REST API(through supabase-js) and that will take care of managing connections.