One of the most widely-discussed shortcomings of Postgres is it's connection system. Every Postgres connection has a reasonably high memory footprint, and determining the maximum number of connections your database can handle is a bit of an art. A common solution is connection pooling. Supabase currently offers pgbouncer which is single-threaded, making it difficult to scale. We've seen some novel
![Supavisor: Scaling Postgres to 1 Million Connections](https://cdn-ak-scissors.b.st-hatena.com/image/square/7650ab8855dc270153818901eb96013e7d506993/height=288;version=1;width=512/https%3A%2F%2Fsupabase.com%2Fimages%2Fblog%2Flaunch-week-8%2Fday-5%2Fsupavisor-og.jpg)