Conduit

Conduit is a distributed SQL router built with Node.js and TypeScript. It intercepts PostgreSQL wire protocol packets and parses SQL ASTs to transparently route queries across sharded database instances based on consistent hashing.

Description

Conduit is a distributed SQL router built with Node.js and TypeScript. It intercepts PostgreSQL wire protocol packets and parses SQL ASTs to transparently route queries across sharded database instances based on consistent hashing.

It is basically high-performance DB Middleware that sits between your application and multiple PostgreSQL instances. Its primary job is to make a "cluster" of many databases look and feel like a single , massive to the developer. Its a wire-level PostgreSQL proxy that transparently shards queries across distributed db shards and instances. It Parses SQL ASTs for intelligent, sub-millisecond routing; executes cross-shard joins/aggregations with 2PC-based ACID guarantees.

This is what the general Idea I have for it I started it some time ago but have barely done anything on it so adding it here.

Issues & Pull Requests Thread
No issues or pull requests added.