This question has been flagged

Hello, do someone has already installed odoo with pgcat ?

the repository is on github  postgresml/pgcat

Pgcat is a PostgreSQL pooler and proxy (like pgbouncer) with support for sharding, load balancing, failover and mirroring, with  Multi-threaded runtime

The big benefit of PgCat is multi-threaded. If you use pgbouncer at scale, you very likely have run into the problem that pgbouncer is ultimately a single-threaded asynchronous connection based pooler.

It is pretty good at handling a lot of connections, but if you have a lot of activities for individual connections, that's where you'll run into bottlenecks.  PgCat don't have this issue.

I have tried but without success, if someone could help me, please.  I will be very happy, thanks in advance.


some features

FeatureStatusComments
Transaction poolingStableIdentical to PgBouncer with notable improvements for handling bad clients and abandoned transactions.
Session poolingStableIdentical to PgBouncer.
Multi-threaded runtimeStableUsing Tokio asynchronous runtime, the pooler takes advantage of multicore machines.
Load balancing of read queriesStableQueries are automatically load balanced between replicas and the primary.
FailoverStableQueries are automatically rerouted around broken replicas, validated by regular health checks.
Admin database statisticsStablePooler statistics and administration via the pgbouncer and pgcat databases.
Prometheus statisticsStableStatistics are reported via a HTTP endpoint for Prometheus.
SSL/TLSStableClients can connect to the pooler using TLS. Pooler can connect to Postgres servers using TLS.
Client/Server authenticationStableClients can connect using MD5 authentication, supported by libpq and all Postgres client drivers. PgCat can connect to Postgres using MD5 and SCRAM-SHA-256.
Live configuration reloadingStableIdentical to PgBouncer; all settings can be reloaded dynamically (except host and port).
Auth passthroughStableMD5 password authentication can be configured to use an auth_query so no cleartext passwords are needed in the config file.
Sharding using extended SQL syntaxExperimentalClients can dynamically configure the pooler to route queries to specific shards.
Sharding using comments parsing/RegexExperimentalClients can include shard information (sharding key, shard ID) in the query comments.
Automatic shardingExperimentalPgCat can parse queries, detect sharding keys automatically, and route queries to the correct shard.
MirroringExperimentalMirror queries between multiple databases in order to test servers with realistic production traffic.


Avatar
Discard