awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
postgresml avatar

postgresml/pgcat

0
View on GitHub↗
3,966 estrellas·265 forks·Rust·MIT·5 vistas

Pgcat

Pgcat es una solución de middleware para PostgreSQL que ofrece agrupación de conexiones (connection pooling), sharding, balanceo de carga y gestión de conmutación por error (failover). Funciona como un proxy que optimiza el uso de recursos y la escalabilidad gestionando sesiones de base de datos y distribuyendo consultas entre múltiples instancias.

El sistema destaca por su capacidad de duplicación de tráfico (traffic mirroring), que replica consultas de producción en tiempo real hacia bases de datos de prueba para su validación. También implementa un proxy de sharding para distribuir datos y consultas entre múltiples instancias de base de datos basándose en claves de particionamiento.

El proyecto cubre la alta disponibilidad mediante failover automatizado y monitoreo del estado de los servidores. Incluye enrutamiento de tráfico para separar operaciones de lectura y escritura, seguridad en la capa de transporte (TLS) para comunicaciones cifradas y una base de datos administrativa virtual para la gestión del sistema y la exportación de métricas de rendimiento.

El servicio se distribuye como un contenedor Docker para garantizar un despliegue consistente en diferentes entornos.

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.

Historial de estrellas

Gráfico del historial de estrellas de postgresml/pgcatGráfico del historial de estrellas de postgresml/pgcat

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace postgresml/pgcat?

Pgcat es una solución de middleware para PostgreSQL que ofrece agrupación de conexiones (connection pooling), sharding, balanceo de carga y gestión de conmutación por error (failover). Funciona como un proxy que optimiza el uso de recursos y la escalabilidad gestionando sesiones de base de datos y distribuyendo consultas entre múltiples instancias.

¿Cuáles son las características principales de postgresml/pgcat?

Las características principales de postgresml/pgcat son: PostgreSQL Pool Managers, Database Connection Pooling, SQL Comment Based Routing, Query Routing, Horizontal Database Scaling, PostgreSQL Database Sharding, PostgreSQL Load Balancers, Traffic Routing.

¿Qué alternativas de código abierto existen para postgresml/pgcat?

Las alternativas de código abierto para postgresml/pgcat incluyen: 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…

Alternativas open-source a Pgcat

Proyectos open-source similares, clasificados según cuántas características comparten con Pgcat.
  • pgdogdev/pgdogAvatar de pgdogdev

    pgdogdev/pgdog

    3,361Ver en GitHub↗

    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
    Ver en GitHub↗3,361
  • alibaba/alisqlAvatar de alibaba

    alibaba/AliSQL

    5,706Ver en GitHub↗

    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
    Ver en GitHub↗5,706
  • sysown/proxysqlAvatar de sysown

    sysown/proxysql

    6,843Ver en GitHub↗

    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++
    Ver en GitHub↗6,843
  • flike/kingshardAvatar de flike

    flike/kingshard

    6,414Ver en GitHub↗

    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
    Ver en GitHub↗6,414
  • Ver las 30 alternativas a Pgcat→