https://github.com/agroal/pgagroal Skip to content Sign up * Why GitHub? + Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Issues - + Integrations - + GitHub Sponsors - + Customer stories - * Team * Enterprise * Explore + Explore GitHub - + Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - + Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing + Plans - + Compare plans - + Contact Sales - + Education - [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} agroal / pgagroal Public * Notifications * Star 475 * Fork 33 * High-performance connection pool for PostgreSQL agroal.github.io/pgagroal/ BSD-3-Clause License 475 stars 33 forks Star Notifications * Code * Issues 12 * Pull requests 0 * Discussions * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Discussions * Actions * Projects * Wiki * Security * Insights master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show Loading {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default Loading View all tags 15 branches 29 tags Code Loading Latest commit @jesperpedersen jesperpedersen Add HAVE_LINUX guard ... 54d0b35 Nov 9, 2021 Add HAVE_LINUX guard 54d0b35 Git stats * 349 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Moving questions to GitHub Discussions Dec 10, 2020 cmake [#74] systemd support Jun 30, 2020 contrib/grafana Add additional description to metrics page and grafana dashboard Aug 20, 2021 doc [#184] Support Unix Domain Socket as a PostgreSQL connection Oct 22, 2021 src Add HAVE_LINUX guard Nov 9, 2021 .gitignore Guard against gh-pages Sep 18, 2019 AUTHORS Add grafana dashboard to pgagroal Jun 22, 2021 CMakeLists.txt Move -fPIC and -fPIE check Nov 9, 2021 CODE_OF_CONDUCT.md Add Code of Conduct policies Sep 25, 2020 LICENSE 2020 -> 2021 Jan 4, 2021 README.md Add git Sep 28, 2021 pgagroal.spec Next is 1.4.0 Sep 7, 2021 View code [ ] pgagroal Features Overview Tested platforms Compiling the source Release build Debug build Contributing License README.md pgagroal pgagroal is a high-performance protocol-native connection pool for PostgreSQL. Pronounced: p-g-a-gro-al, named after Agroal in Portugal. Features * High performance * Connection pool * Limit connections for users and databases * Prefill support * Remove idle connections * Perform connection validation * Enable / disable database access * Graceful / fast shutdown * Prometheus support * Grafana 8 dashboard * Remote management * Authentication query support * Failover support * Transport Layer Security (TLS) v1.2+ support * Daemon mode * User vault See Getting Started on how to get started with pgagroal. See Configuration on how to configure pgagroal. See Performance for a performance run. Overview pgagroal makes use of * Process model * Shared memory model across processes * libev for fast network interactions * Atomic operations are used to keep track of state * The PostgreSQL native protocol v3 for its communication pgagroal will work with any PostgreSQL compliant driver, for example pgjdbc, Npgsql and pq. See Architecture for the architecture of pgagroal. Tested platforms * Fedora 28+ * RHEL 7.x with EPEL and DevTools 8+ * RHEL 8.x with AppStream Compiling the source pgagroal requires * gcc 8+ (C17) * cmake * make * libev * OpenSSL * systemd * rst2man dnf install git gcc cmake make libev libev-devel openssl openssl-devel systemd systemd-devel python3-docutils Alternative clang 8+ can be used. Release build The following commands will install pgagroal in the /usr/local hierarchy and run the default configuration. git clone https://github.com/agroal/pgagroal.git cd pgagroal mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. make sudo make install /usr/local/bin/pgagroal -c /usr/local/etc/pgagroal/pgagroal.conf -a /usr/local/etc/pgagroal/pgagroal_hba.conf See RPM for how to build a RPM of pgagroal. Debug build The following commands will create a DEBUG version of pgagroal. git clone https://github.com/agroal/pgagroal.git cd pgagroal mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Debug .. make cd src cp ../../doc/etc/*.conf . ./pgagroal -c pgagroal.conf -a pgagroal_hba.conf Remember to set the log_level configuration option to debug5. Contributing Contributions to pgagroal are managed on GitHub.com * Ask a question * Raise an issue * Feature request * Code submission Contributions are most welcome ! Please, consult our Code of Conduct policies for interacting in our community. Consider giving the project a star on GitHub if you find it useful. And, feel free to follow the project on Twitter as well. License BSD-3-Clause About High-performance connection pool for PostgreSQL agroal.github.io/pgagroal/ Topics high-performance postgresql pool connection Resources Readme License BSD-3-Clause License Code of conduct Code of conduct Releases 29 pgagroal 1.3.3 Latest Nov 9, 2021 + 28 releases Contributors 4 * @jesperpedersen jesperpedersen Jesper Pedersen * @An-DJ An-DJ dongjunduo * @will will Will Leinweber * @davidfetter davidfetter David Fetter Languages * C 98.0% * CMake 2.0% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.