FauxDB: Dual-Protocol Database: MongoDB + MySQL on PostgreSQL
The ONLY database with MongoDB AND MySQL wire protocol support simultaneously—backed by pure PostgreSQL. Connect with MongoDB clients OR MySQL clients, access the same data through both protocols.
fauxdb-demo
$
Speed:
Ready to run
MongoDB + MySQL ProtocolsDual-Protocol AccessRust EnginePostgreSQL BackendSQL TranslatorACID Transactions
Key Features

Why FauxDB

Dual-Protocol Support

MongoDB AND MySQL wire protocols simultaneously! Connect with mongosh OR mysql client—access the SAME data through both protocols.

MongoDB Wire Protocol

Full MongoDB compatibility. Use mongosh, PyMongo, Node.js driver, and all MongoDB clients with zero changes.

MySQL Wire Protocol

Standard MySQL protocol support via msql-srv. Connect with mysql client, Tableau, PowerBI, and all MySQL tools.

SQL Query Translator

Automatic MySQL → PostgreSQL query translation. Handles backticks, data types, functions, LIMIT syntax, and 20+ patterns.

Rust Performance

Built in Rust for memory safety and concurrency. 10,000+ ops/sec MongoDB throughput, 5,000+ ops/sec MySQL throughput.

Pure PostgreSQL Backend

Native JSONB storage with PostgreSQL power. ACID transactions, data integrity, and enterprise features. Zero external dependencies.

Production Ready

Enterprise-grade monitoring, Prometheus metrics, Grafana dashboards, health checks, and comprehensive logging.

Advanced Features

Transactions, geospatial queries (PostGIS), aggregation pipeline, change streams, and connection pooling.

Cross-Protocol Consistency

Insert via MongoDB, query via MySQL. Write via MySQL, read via MongoDB. Always consistent with PostgreSQL ACID.

CapabilityDescriptionPerformanceStatus
Dual-ProtocolMongoDB AND MySQL protocols simultaneously on ports 27018 + 330610K+ MongoDB ops/sec, 5K+ MySQL ops/sec
MongoDB ProtocolFull wire protocol, mongosh, PyMongo, Node.js driverP50 < 5ms, P99 < 50ms
MySQL ProtocolStandard MySQL protocol, mysql client, Tableau, PowerBImsql-srv library
SQL TranslatorMySQL → PostgreSQL query translation (700+ lines)20+ translation patterns
PostgreSQL BackendNative JSONB storage, ACID transactions, zero dependenciesPostgreSQL 17+
MonitoringPrometheus metrics, Grafana dashboards, health checksPer-protocol tracking
FeatureFauxDBFerretDBMongoDBMySQL
MongoDB Wire Protocol✔️ Port 27018✔️✔️
MySQL Wire Protocol✔️ Port 3306✔️
Dual-Protocol (Both)✔️ Unique!
PostgreSQL Backend✔️ JSONB✔️✔️
ACID Transactions✔️✔️✔️✔️
Geospatial Queries✔️Limited✔️✔️
Aggregation Pipeline✔️Partial✔️Limited
Advanced Indexing✔️✔️✔️✔️
Rust Performance✔️Go
PostgreSQL Storage✔️✔️✔️
Multi-Document Transactions✔️Partial✔️Limited
Production Ready✔️✔️✔️✔️
Get Started

Deploy Dual-Protocol Database

Install FauxDB and access your PostgreSQL data through both MongoDB and MySQL protocols simultaneously with zero downtime migration.