→ كل المشاريع

PgGate

بواسطة @wailbentafat

نشِط 28

PgGate is a fast PostgreSQL proxy that routes queries to primary or replicas, supports connection pooling, read/write splitting, and ensures safe transactions and session handling.

عن هذا المشروع

PgGate: A High-Performance PostgreSQL Proxy Technical Overview PgGate is a specialized, protocol-aware TCP proxy designed specifically for PostgreSQL database clusters. It serves as an intermediary layer between application services and database nodes, providing intelligent traffic orchestration, connection management, and session state preservation. Unlike general-purpose load balancers, PgGate operates with a deep understanding of the PostgreSQL wire protocol. This allows it to perform real-time query inspection and implement sophisticated routing strategies, such as read/write splitting, while ensuring semantic consistency for the connecting client. Core Capabilities Intelligent Query Dispatch: Automatically routes write operations (INSERT, UPDATE, DELETE) and DDL to the primary node, while dispatching read-only queries (SELECT) to available replicas. Advanced Connection Pooling: Implements efficient connection management for both primary and replica nodes, reducing overhead and improving backend resource utilization.

من ملف README الخاص بالمشروع على GitHub

النجوم
28
التفريعات
1
آخر تحديث
01/04/2026

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/pggate.svg)](https://www.madeinalgeria.dev/projects/pggate)

مشاريع ذات صلة