pgcat
Enhanced PostgreSQL logical replication (by kingluo)
pgcat
PostgreSQL pooler with sharding, load balancing and failover support. [Moved to: https://github.com/postgresml/pgcat] (by levkk)
pgcat | pgcat | |
---|---|---|
1 | 9 | |
371 | 1,511 | |
- | - | |
0.0 | 9.6 | |
about 1 year ago | about 1 year ago | |
Go | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pgcat
Posts with mentions or reviews of pgcat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-08.
-
PgCat: Postgres pooler with sharding, load balancing and failover support
You might want to consider a different name, as there's already a pgcat project which appears to be a logical replication extension to augment native logical replication.
https://github.com/kingluo/pgcat
pgcat
Posts with mentions or reviews of pgcat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-24.
-
PostgreSQL with PGBouncer
You should check out https://github.com/levkk/pgcat
-
pgcat: a PostgreSQL pooler
I created a pool called "yugabyte" (pools.yugabyte), with pool mode 'session', so that a session remains connected to a backend. I created a pool of servers in pools.yugabyte.shards.0 (yugabyte shards pool 0), with all three of the YSQL nodes in the YugabyteDB cluster, and gave one the role of "primary" and the two others the role of "replica". For YugabyteDB YSQL this does not make sense. Currently, pgcat allows to have the roles to be all "replica", but not have more than one "primary".
-
Postgres Connection Pooling and Proxies
pgcat is pgbouncer rewritten in Rust with support for load balancing between replicas, failover in case a replica fails a health check, and sharding at the pooler level.
- pgcat - PgBouncer rewritten in Rust, with sharding, load balancing and failover support.
- Show HN: PgCat, Postgres pooler with sharding, load balancing and failover
-
Hacker News top posts: Feb 9, 2022
Show HN: PgCat, Postgres pooler with sharding, load balancing and failover\ (38 comments)
-
PgCat: Postgres pooler with sharding, load balancing and failover support
This is actually pretty amazing. I wouldn't normally trust a single author implemented project to sit between my application and my database, since that is a rather critical single point of failure. However, a grep that fails to find `unsafe` in a rust code base lets me know that this code is in fact pretty safe[1]. I don't need to trust the author, as much as I trust the Rust core team, and LLVM.
Since I can see basic functionality exercised in the test suites, and trust that Rust has validated its more general correctness, this gives me more confidence in your project than I would historically expect to be able to gather in such a short amount of time.
1: https://github.com/levkk/pgcat/search?q=unsafe
What are some alternatives?
When comparing pgcat and pgcat you can also consider the following projects:
odyssey - Scalable PostgreSQL connection pooler
pgbouncer - lightweight connection pooler for PostgreSQL
pgcat - PostgreSQL pooler with sharding, load balancing and failover support.
pgweb - Cross-platform client for PostgreSQL databases
cloudpilot-emu - A PalmOS emulator for the web
FerretDB - A truly Open Source MongoDB alternative
pgbouncer_exporter - Prometheus exporter for PgBouncer