For a connection pooler for Postgres, the first results are pgbouncer/pgbouncer, brettwooldridge/hikaricp and walkor/workerman. chenshuo/muduo and apple/swift-nio round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
High-performance connection pooling solutions designed to manage thousands of concurrent client connections for PostgreSQL databases.
PgBouncer is a lightweight middleware proxy server and connection pooler for PostgreSQL. It acts as a database connection manager and load balancer, reducing system overhead by managing a pool of reusable connections and distributing incoming traffic across multiple backend servers. The project distinguishes itself through a protocol-level proxying approach that handles authentication and TLS encryption without parsing underlying SQL queries. It provides specialized support for mapping named prepared statements across different backend connections and implements a socket-sharing process model
PgBouncer is the established lightweight PostgreSQL connection pooler and proxy server, purpose-built to handle thousands of concurrent clients with transaction pooling, prepared statement caching, and low overhead — it directly matches every required feature for scaling PostgreSQL connections.
HikariCP is a high-concurrency JDBC connection pooling library for Java applications. It provides a reusable set of database connections to reduce the overhead of creating new connections for every request, enabling low-latency database access for applications handling large volumes of simultaneous requests. The project utilizes lock-free connection pooling and non-blocking data structures to ensure high performance. It includes specialized optimizations such as bytecode-optimized statement caching on the driver side to reduce SQL parsing overhead and proxy-based connection wrapping to track
HikariCP is a high-performance JDBC connection pooling library for Java applications, but it runs embedded inside a JVM process rather than as a standalone proxy that can handle thousands of concurrent client connections across the network, so it doesn't match the deployment model of a PostgreSQL connection pooler.
Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build high-concurrency network servers, including an asynchronous TCP framework, a coroutine library for task management, and dedicated implementations for HTTP and WebSocket servers. The project enables the development of specialized network services using custom frame-based communication protocols. It supports both inbound concurrent server implementation and asynchronous outbound connectivity to remote services. The framework covers a broad range of network programming capabili
Workerman is a general-purpose PHP asynchronous socket framework for building high-concurrency network servers — while it provides building blocks like event-driven TCP handling that could be used to implement connection pooling, it lacks PostgreSQL-specific protocol support, transaction pooling, prepared-statement caching, and is not itself a PostgreSQL connection pooler deployable as a sidecar proxy.
Muduo is a C++11 event-driven network library and framework designed for building high-concurrency Linux servers. It provides a toolkit for implementing scalable network services and socket communication using non-blocking I/O and asynchronous event processing. The framework implements a multi-threaded TCP server architecture that distributes connection handling across multiple CPU threads to maximize server throughput. This is achieved through a one-loop-per-thread model and a reactor pattern implementation, which dispatch network events from a central demultiplexer to registered handler fun
muduo is a general-purpose C++ network library for building high-concurrency servers, not a PostgreSQL connection pooler — it provides the async I/O and multi-threaded building blocks but lacks PostgreSQL-protocol support, transaction pooling, and the ready-to-deploy pool logic this search requires.
Swift NIO is a low-level, event-driven network framework for the Swift language. It serves as an asynchronous network protocol stack and I/O library designed to build high-performance network servers and clients that handle thousands of simultaneous connections. The framework functions as a high-concurrency network engine that dispatches events across multiple CPU cores. It enables the implementation of custom network protocols by processing raw bytes through a sequence of reusable data transformation handlers. The system provides capabilities for non-blocking I/O multiplexing, asynchronous
Swift NIO is a general-purpose asynchronous networking framework for building high-performance servers, not a PostgreSQL connection pooler with transaction pooling or PostgreSQL protocol support.
Oatpp is a high-performance C++ web framework and API development kit used for building REST APIs and web services. It functions as an asynchronous HTTP server that utilizes coroutines to handle thousands of simultaneous connections without blocking threads. The toolkit includes a native C++ object-relational mapping layer for executing SQL queries and transforming database results into data objects. It also provides a WebSocket communication library for establishing full-duplex channels to support real-time data streaming and live media. The framework covers a broad range of capabilities, i
Oatpp is a high-performance C++ web framework with ORM support that includes connection pooling internally, but it is not a standalone PostgreSQL connection pooler designed for dedicated proxy/sidecar deployment with transaction pooling and prepared statement caching.
Druid is a database connection management and monitoring framework designed to maintain persistent, high-performance links between applications and relational databases. It functions as a resource manager that automates the lifecycle of connection pools, reducing the overhead associated with repeatedly opening and closing network connections. The project distinguishes itself through an integrated query analysis engine that decomposes database statements into structured components. This capability enables real-time security auditing, syntax validation, and metadata extraction, allowing for the
Druid is a Java-based embedded connection pooling library for relational databases, not a standalone PostgreSQL proxy or sidecar; while it offers high performance, it lacks the proxy deployment model and transaction-level pooling expected for scaling thousands of client connections externally.
Materialize is a streaming SQL database that continuously ingests live data from sources such as Kafka, Redpanda, PostgreSQL, and MySQL, and incrementally maintains materialized views. It provides a PostgreSQL-compatible query engine that accepts standard SQL over the PostgreSQL wire protocol, enabling any existing SQL client or BI tool to query real-time data. The system also includes a Model Context Protocol (MCP) server that exposes live materialized view data to AI agents, providing fresh context without polling. Materialize distinguishes itself through its ability to offer configurable c
Materialize is a streaming SQL database that speaks the PostgreSQL wire protocol, but it is not a connection pooler—it does not pool connections to an existing PostgreSQL instance or provide transaction pooling or proxy features, so it does not fit this search.
Cockroach is a distributed SQL database designed to scale horizontally across multiple nodes while maintaining strict ACID compliance and global data consistency. It functions as a relational database engine that automatically partitions data into ranges, rebalancing them across a cluster to accommodate growing storage and throughput requirements. By utilizing a distributed consensus protocol, the system ensures that all nodes agree on the order of operations, providing fault tolerance and continuous availability even in the event of hardware failures. The system distinguishes itself through
CockroachDB is a distributed SQL database with PostgreSQL protocol compatibility, not a connection pooler—it manages data storage and query execution rather than pooling and reusing database connections for thousands of clients.
RisingWave is a cloud-native streaming database and real-time analytics engine that uses standard SQL to process continuous data streams. It functions as a streaming data lakehouse, combining the capabilities of a streaming SQL database with a platform that integrates streaming ingestion with open table formats. The system is distinguished by its use of the PostgreSQL wire protocol, allowing it to integrate with existing SQL tools and drivers. It employs a decoupled compute and storage architecture, persisting streaming state and materialized views in cloud object storage to enable independen
RisingWave is a streaming SQL database and analytics engine, not a connection pooler for PostgreSQL; while it uses the PostgreSQL wire protocol for connectivity, it does not provide connection pooling, transaction pooling, or proxy/sidecar deployment for managing thousands of client connections to a backend PostgreSQL instance.
Electric is a Postgres data synchronization engine and replication proxy designed to enable local-first software. It replicates data from Postgres databases to client-side stores in real time using logical replication, allowing applications to maintain a local embedded database for offline access and low-latency updates. The system distinguishes itself by using shapes to filter and authorize specific subsets of database rows and columns before streaming them to clients or edge workers. It further supports multi-user collaboration by integrating a conflict-free replicated data type framework t
Electric is a Postgres replication proxy and data sync engine for local-first apps, not a connection pooler—it streams data changes rather than managing thousands of client connections with transaction pooling or prepared statement caching.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| pgbouncer/pgbouncer | 3.9K | C | other | |
| brettwooldridge/hikaricp | 21.1K | Java | Apache-2.0 | |
| 11.5K |
| PHP |
| MIT |
| chenshuo/muduo | 16.2K | C++ | NOASSERTION |
| apple/swift-nio | 8.5K | Swift | Apache-2.0 |
| oatpp/oatpp | 8.6K | C++ | apache-2.0 |
| alibaba/druid | 28.2K | Java | apache-2.0 |
| materializeinc/materialize | 6.3K | Rust | NOASSERTION |
| cockroachdb/cockroach | 32.2K | Go | NOASSERTION |
| risingwavelabs/risingwave | 9.1K | Rust | Apache-2.0 |