pgcat
PostgreSQL
pgcat | PostgreSQL | |
---|---|---|
9 | 411 | |
1,511 | 14,788 | |
- | 2.3% | |
9.6 | 10.0 | |
about 1 year ago | 4 days ago | |
Rust | C | |
MIT License | GNU General Public License v3.0 or later |
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
-
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
PostgreSQL
-
Essential Tools & Technologies for New Developers
Every time I buy a new computer, the first thing I install is the servers for MySql and Postgres, the two most common databases. This way, I can start the databases with a simple command like this:
- OpenBSD 7.3 を 7.4 へ アップグレード
-
What do you want to watch next? This is why I built GoodWatch.
Data Handling: Utilizes Windmill for data pipelines, with a primary database powered by PostgreSQL. Auxiliary data storage is handled by MongoDB, with Redis for caching to optimize performance
-
System Design: Databases and DBMS
PostgreSQL
- Presentación del Operador LMS Moodle
-
Introducing LMS Moodle Operator
The LMS Moodle Operator serves as a meta-operator, orchestrating the deployment and management of Moodle instances in Kubernetes. It handles the entire stack required to run Moodle, including components like Postgres, Keydb, NFS-Ganesha, and Moodle itself. Each of these components has its own Kubernetes Operator, ensuring seamless integration and management.
-
Integrate txtai with Postgres
Another key feature of txtai is being able to quickly move from prototyping to production. This article will demonstrate how txtai can integrate with Postgres, a powerful, production-ready and open source object-relational database system. After txtai persists content to Postgres, we'll show it can be directly queried with SQL from any Postgres client
-
Understanding SQL vs. NoSQL Databases: A Beginner's Guide
SQL (Structured Query Language) databases are relational databases. They organize data into tables with rows and columns, and they use SQL for querying and managing data. Examples include MySQL, PostgreSQL, and SQLite.
-
From zero to hero: using SQL databases in Node.js made easy
Node.js, MySQL and PostgreSQL servers installed on your machine
-
I Deployed My Own Cute Lil’ Private Internet (a.k.a. VPC)
Each app’s front end is built with Qwik and uses Tailwind for styling. The server-side is powered by Qwik City (Qwik’s official meta-framework) and runs on Node.js hosted on a shared Linode VPS. The apps also use PM2 for process management and Caddy as a reverse proxy and SSL provisioner. The data is stored in a PostgreSQL database that also runs on a shared Linode VPS. The apps interact with the database using Drizzle, an Object-Relational Mapper (ORM) for JavaScript. The entire infrastructure for both apps is managed with Terraform using the Terraform Linode provider, which was new to me, but made provisioning and destroying infrastructure really fast and easy (once I learned how it all worked).
What are some alternatives?
pgbouncer - lightweight connection pooler for PostgreSQL
psycopg2 - PostgreSQL database adapter for the Python programming language
odyssey - Scalable PostgreSQL connection pooler
ClickHouse - ClickHouse® is a free analytics DBMS for big data
cloudpilot-emu - A PalmOS emulator for the web
phpMyAdmin - A web interface for MySQL and MariaDB
pgcat - Enhanced PostgreSQL logical replication
Firebird - FB/Java plugin for Firebird
pgbouncer_exporter - Prometheus exporter for PgBouncer
Adminer - Database management in a single PHP file
pgjdbc - Postgresql JDBC Driver
SQLAlchemy - The Database Toolkit for Python