awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
pgbouncer avatar

pgbouncer/pgbouncer

0
View on GitHub↗
3,937 Stars·539 Forks·C·other·8 Aufrufewww.pgbouncer.org↗

Pgbouncer

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 to distribute network traffic across multiple CPU cores.

The software covers a broad range of resource management capabilities, including concurrent connection limiting, idle connection timeouts, and various connection assignment strategies. It integrates centralized authentication via LDAP and PAM, offers real-time connection state inspection, and supports zero-downtime process restarts and graceful shutdowns.

The system integrates with systemd on Linux and as a service on Windows for automated lifecycle management.

Features

  • PostgreSQL Pool Managers - Provides a specialized connection pool manager tailored for the PostgreSQL wire protocol and server behavior.
  • Connection Pooling - Manages a pool of reusable backend connections assigned to clients based on session or transaction boundaries.
  • Resource Limits - Prevents database crashes by capping concurrent connections and terminating idle sessions to save system resources.
  • Database Connection Managers - Manages the lifecycle of database connections and implements session or transaction-level pooling.
  • Connection Pool Managers - Controls minimum and maximum pool sizes to maintain stability during traffic spikes.
  • Connection Limit Managers - Caps the maximum number of global or per-user connections to protect system resource capacity.
  • PostgreSQL Proxy Servers - Functions as a network intermediary handling authentication, TLS encryption, and routing between clients and PostgreSQL databases.
  • Cross-Connection Mapping - Tracks client-side prepared statements and mirrors them across various backend connections for transparent query execution.
  • Load Balancers - Balances incoming database traffic across multiple backend hosts using strategies like round-robin to optimize throughput.
  • Connection Pooling Strategies - Assigns server connections based on session, transaction, or statement strategies to optimize performance.
  • Protocol-Level Proxying - Intercepts and forwards PostgreSQL wire protocol messages between clients and servers without parsing the underlying SQL queries.
  • Non-Blocking Event Loops - Manages all network I/O and timers using a non-blocking event loop to handle thousands of concurrent connections efficiently.
  • Connection Pool Observability - Provides real-time inspection of active clients and connection pools to debug connectivity and resource usage.
  • Idle Connection Cleanup - Automatically closes inactive database connections and terminates long-running transactions to reclaim system resources.
  • PostgreSQL Load Balancers - Distributes incoming database traffic across multiple backend PostgreSQL servers to optimize throughput and availability.
  • Statement Synchronization - Tracks and rewrites named prepared statements to ensure they remain available across different assigned server connections.
  • Dynamic Configuration - Modifies operational parameters and reloads configuration files at runtime without requiring a restart.
  • Connection State Resets - Cleanses session variables and temporary state on a backend connection before returning it to the pool for reuse.
  • Dynamic Configuration Reloading - Updates internal state and operational parameters at runtime without disconnecting clients or restarting the process.
  • Connection Monitors - Tracks whether client connections are active or idle to analyze real-time resource utilization.
  • Zero-Downtime Binaries Upgrades - Upgrades the process while maintaining active client connections to prevent application downtime.
  • Administrative Access Control - Provides the ability to pause or enable specific databases to manage client access during maintenance windows.
  • Multi-Backend Routing - Distributes client requests across multiple database servers residing on different physical hosts for improved scalability.
  • Port Sharing Mechanisms - Binds multiple process instances to the same network port to distribute traffic across CPU cores.
  • Socket Sharers - Implements a socket-sharing model that binds multiple process instances to one port to distribute traffic across CPU cores.
  • Database PAM Authentication - Delegates user authentication to system-level pluggable authentication modules to verify identities using OS credentials.
  • Centralized Identity Management - Integrates PostgreSQL access with external identity providers like LDAP and PAM for unified user management.
  • User Identity Verification - Validates user credentials using multiple methods including certificates, external files, and directory services.
  • LDAP Authentication - Validates user credentials against a centralized LDAP directory server for identity management.
  • Transport Layer Encryption - Secures data in transit between the client and the server using Transport Layer Security.
  • Network Statistics Tracking - Tracks transaction counts, query volume, and network traffic to analyze system load and bottlenecks.

Star-Verlauf

Star-Verlauf für pgbouncer/pgbouncerStar-Verlauf für pgbouncer/pgbouncer

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Pgbouncer

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Pgbouncer.
  • pgdogdev/pgdogAvatar von pgdogdev

    pgdogdev/pgdog

    3,361Auf GitHub ansehen↗

    pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable horizontal data distribution by splitting tables and indices across multiple independent servers to scale storage and processing capacity. The project distinguishes itself through online resharding capabilities, using logical replication to move data between shards without application downtime. It supports multiple routing strategies, including hash, list, and range-based query routing, and manages distributed atomic transactions using a two-phase commit process to ensure consistency

    Rustload-balancerpoolerpostgresql
    Auf GitHub ansehen↗3,361
  • felixge/node-mysqlAvatar von felixge

    felixge/node-mysql

    18,621Auf GitHub ansehen↗

    This project is a pure JavaScript database driver for Node.js that implements the native MySQL binary protocol. It serves as a comprehensive connector for managing persistent network links to MySQL servers, enabling applications to execute queries, manage transactions, and handle complex data operations without requiring external middleware. The driver distinguishes itself through its integrated support for connection pooling and distributed database routing. It maintains managed sets of reusable network sockets to optimize resource usage under high request volumes, while simultaneously provi

    JavaScript
    Auf GitHub ansehen↗18,621
  • porsager/postgresAvatar von porsager

    porsager/postgres

    8,566Auf GitHub ansehen↗

    This project is a PostgreSQL client library and SQL query builder for JavaScript and TypeScript. It provides a low-level database driver and connection manager to handle database sessions, along with a logical replication client for monitoring real-time changes. The library distinguishes itself with a high-performance bulk data streamer that utilizes the database copy command for importing and exporting large datasets. It also implements a logical replication protocol to facilitate real-time database synchronization through change subscriptions and channel-based notifications. The toolset co

    JavaScriptclientcockroachdbdatabase
    Auf GitHub ansehen↗8,566
  • crunchydata/postgres-operatorAvatar von CrunchyData

    CrunchyData/postgres-operator

    4,423Auf GitHub ansehen↗

    This project is a Kubernetes operator designed for deploying and managing production PostgreSQL database clusters using declarative configurations. It functions as a controller that synchronizes the actual state of database clusters with a desired state, providing a system for high availability orchestration, automated backup and recovery, and containerized database administration. The operator distinguishes itself through a comprehensive data protection suite that supports point-in-time recovery, multi-mode backups to cloud object storage, and cluster cloning. It ensures continuous availabil

    Go
    Auf GitHub ansehen↗4,423
Alle 30 Alternativen zu Pgbouncer anzeigen→

Häufig gestellte Fragen

Was macht pgbouncer/pgbouncer?

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.

Was sind die Hauptfunktionen von pgbouncer/pgbouncer?

Die Hauptfunktionen von pgbouncer/pgbouncer sind: PostgreSQL Pool Managers, Connection Pooling, Resource Limits, Database Connection Managers, Connection Pool Managers, Connection Limit Managers, PostgreSQL Proxy Servers, Cross-Connection Mapping.

Welche Open-Source-Alternativen gibt es zu pgbouncer/pgbouncer?

Open-Source-Alternativen zu pgbouncer/pgbouncer sind unter anderem: pgdogdev/pgdog — pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable… felixge/node-mysql — This project is a pure JavaScript database driver for Node.js that implements the native MySQL binary protocol. It… porsager/postgres — This project is a PostgreSQL client library and SQL query builder for JavaScript and TypeScript. It provides a… crunchydata/postgres-operator — This project is a Kubernetes operator designed for deploying and managing production PostgreSQL database clusters… redis/go-redis — This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive… jeremyevans/sequel — Sequel is a relational database toolkit for Ruby that provides object-relational mapping, a fluent SQL query builder,…