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
·
postgresml avatar

postgresml/pgcat

0
View on GitHub↗
3,966 Stars·265 Forks·Rust·MIT·3 Aufrufe

Pgcat

Pgcat ist eine PostgreSQL-Middleware-Lösung für Connection Pooling, Sharding, Load Balancing und Failover-Management. Sie fungiert als Proxy, der die Ressourcennutzung und Skalierbarkeit optimiert, indem er Datenbanksitzungen verwaltet und Abfragen auf mehrere Instanzen verteilt.

Das System zeichnet sich durch Traffic-Mirroring aus, bei dem Live-Produktionsabfragen zur Validierung an Testdatenbanken dupliziert werden. Zudem implementiert es einen Sharding-Proxy, um Daten und Abfragen basierend auf Sharding-Keys auf mehrere Datenbankinstanzen zu verteilen.

Das Projekt deckt Hochverfügbarkeit durch automatisiertes Failover und Server-Health-Monitoring ab. Es umfasst Traffic-Routing zur Trennung von Lese- und Schreiboperationen, Transport Layer Security für verschlüsselte Kommunikation sowie eine virtuelle administrative Datenbank für das Systemmanagement und den Export von Leistungsmetriken.

Der Dienst wird als Docker-Container bereitgestellt, um eine konsistente Bereitstellung in verschiedenen Umgebungen zu gewährleisten.

Features

  • PostgreSQL Pool Managers - Manages a pool of database connections specifically tailored for the PostgreSQL wire protocol to optimize resource usage.
  • Database Connection Pooling - Manages a pool of reusable backend sessions to reduce the overhead of establishing new database connections.
  • SQL Comment Based Routing - Routes queries to specific data partitions using sharding keys extracted from SQL comments or hashing functions.
  • Query Routing - Directs queries to specific data partitions using automatic key detection, SQL comments, or custom syntax.
  • Horizontal Database Scaling - Distributes data across multiple database instances to scale storage and throughput through horizontal expansion.
  • PostgreSQL Database Sharding - Splits data across multiple PostgreSQL servers to scale storage and processing by routing queries via sharding keys.
  • PostgreSQL Load Balancers - Provides a protocol-aware proxy to distribute read queries across multiple PostgreSQL backend instances.
  • Traffic Routing - Analyzes incoming SQL to automatically direct read-only requests to replicas and write operations to the primary server.
  • Replica Load Balancers - Distributes incoming queries across a cluster of available replicas to prevent single-instance bottlenecks.
  • Read Load Balancers - Distributes read requests across multiple replicas using random or least-connection algorithms.
  • Sharding Proxies - Acts as a routing layer that distributes queries across multiple database instances based on sharding keys.
  • Database Failover Routers - Redirects traffic to a healthy standby instance when a primary node becomes unavailable to maintain uptime.
  • Database High Availability - Coordinates PostgreSQL nodes to ensure continuous service availability through automated failover and health monitoring.
  • Database Failover Management - Monitors backend server health and automatically reroutes traffic to standby instances during primary node failure.
  • Health-Based Traffic Rerouting - Monitors backend server availability via periodic probes and automatically reroutes traffic away from unresponsive nodes.
  • Upstream Health Monitoring - Performs periodic health checks on backend servers and temporarily blocks unresponsive nodes to ensure stability.
  • Database Query Mirroring - Duplicates incoming production queries to test databases to validate new versions or warm up caches.
  • Database Connection Encryption - Encrypts communication between clients, the proxy, and database servers using TLS certificates.
  • Database Authentication - Validates client identities using secure hashing or external query passthrough to manage database access.
  • Transport Layer Security - Secures data in transit between clients and backend servers using certificates and private keys.
  • Administrative Command Engines - Executes system management tasks and inspects pool status through a dedicated administrative interface.
  • Virtual Administrative Databases - Provides a dedicated virtual administrative database for executing system commands and inspecting pool health.

Star-Verlauf

Star-Verlauf für postgresml/pgcatStar-Verlauf für postgresml/pgcat

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

Häufig gestellte Fragen

Was macht postgresml/pgcat?

Pgcat ist eine PostgreSQL-Middleware-Lösung für Connection Pooling, Sharding, Load Balancing und Failover-Management. Sie fungiert als Proxy, der die Ressourcennutzung und Skalierbarkeit optimiert, indem er Datenbanksitzungen verwaltet und Abfragen auf mehrere Instanzen verteilt.

Was sind die Hauptfunktionen von postgresml/pgcat?

Die Hauptfunktionen von postgresml/pgcat sind: PostgreSQL Pool Managers, Database Connection Pooling, SQL Comment Based Routing, Query Routing, Horizontal Database Scaling, PostgreSQL Database Sharding, PostgreSQL Load Balancers, Traffic Routing.

Welche Open-Source-Alternativen gibt es zu postgresml/pgcat?

Open-Source-Alternativen zu postgresml/pgcat sind unter anderem: pgdogdev/pgdog — pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable… alibaba/alisql — AliSQL is a fork of MySQL by Alibaba that extends the relational database management system with enhancements for high… sysown/proxysql — ProxySQL is a database proxy designed to route and balance traffic between applications and MySQL or PostgreSQL… flike/kingshard — Kingshard is a MySQL database proxy and sharding middleware that routes SQL traffic between clients and multiple… vonng/pigsty — Pigsty is a comprehensive database infrastructure orchestration platform designed to automate the full lifecycle of… qihoo360/atlas — Atlas is a MySQL database proxy and middleware system designed to manage traffic between clients and database…

Open-Source-Alternativen zu Pgcat

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Pgcat.
  • 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
  • alibaba/alisqlAvatar von alibaba

    alibaba/AliSQL

    5,706Auf GitHub ansehen↗

    AliSQL is a fork of MySQL by Alibaba that extends the relational database management system with enhancements for high performance, scalability, and enterprise-grade availability. It retains the core MySQL identity as a SQL-based database for storing, organizing, and retrieving structured data, while adding optimizations for large-scale transactional and analytical workloads. The project differentiates itself through a set of Alibaba-specific improvements, including a columnar engine for accelerating analytical queries directly on MySQL tables, and a distributed, shared-nothing NDB Cluster en

    C++alisqldatabaseduckdb
    Auf GitHub ansehen↗5,706
  • sysown/proxysqlAvatar von sysown

    sysown/proxysql

    6,843Auf GitHub ansehen↗

    ProxySQL is a database proxy designed to route and balance traffic between applications and MySQL or PostgreSQL servers. It provides database high availability by monitoring backend server health and automatically rerouting traffic to healthy nodes during failover events to prevent downtime. The system integrates with generative AI models by proxying requests through a protocol handler, creating a bridge that allows large language models to access structured data. The project includes capabilities for traffic management through automatic failover routing and cluster topology discovery. It op

    C++
    Auf GitHub ansehen↗6,843
  • flike/kingshardAvatar von flike

    flike/kingshard

    6,414Auf GitHub ansehen↗

    Kingshard is a MySQL database proxy and sharding middleware that routes SQL traffic between clients and multiple database nodes. It functions as a load balancer, read-write splitter, and SQL query firewall to manage how data is accessed and distributed across a database infrastructure. The system implements data sharding using hash, range, or date strategies to split tables across multiple nodes. It enables read-write splitting by directing data modification requests to a master node while distributing read-only queries across a pool of slave replicas. The proxy provides traffic management t

    Gokingshardmysqlmysql-proxy
    Auf GitHub ansehen↗6,414
Alle 30 Alternativen zu Pgcat anzeigen→