# Concepts & Architecture

> Why Mimus unifies session wire hooks, stateless service gateways, encryption, replication and extensions on one PostgreSQL 19.0 kernel.

---

LLMS index: [llms.txt](/llms.txt)

---

Mimus starts from a simple premise: instead of operating separate data silos for relational, MySQL, MSSQL, document, key-value, coordination and object workloads, let every client protocol read and write one PostgreSQL 19.0 storage engine.

## Three layers of design {#three-layers}

- **Wire protocols** decide how clients connect: session protocols (`PostgreSQL :5432`, `MySQL :3306`, `MSSQL :1433`) attach directly to backend processes via thin kernel hooks, while high-concurrency service protocols (`MongoDB :27017`, `Redis :6379`, `etcd :2379`, `S3 :9000`) enter through stateless multiplexing gateways.
- **Dialects** decide what clients speak once connected: PostgreSQL SQL, MySQL SQL (`pg_mysql`), T-SQL (`Babelfish`), BSON queries (`DocumentDB`), and Oracle compatibility helpers (`orafce`) load as extensions.
- **Engine capabilities** protect, replicate and enrich shared MVCC tables: transparent relation and WAL encryption ([PG TDE](/docs/tde/)), active-active logical replication ([pgEdge](/docs/spock/)), spatial indexing (`PostGIS`), vector search (`pgvector`, `VectorChord`), and native PostgreSQL 19 `REPACK`.

Continue below for the detailed connection path and deployment boundaries.

---

Section pages:

- [Unified kernel, protocol hooks and gateways](/docs/concepts/architecture/): How session wire hooks and stateless service gateways converge on PostgreSQL 19.0 tables, encryption and replication.
- [Isolation rules, feature locks and exclusions](/docs/concepts/boundaries/): Why Mimus isolates one compatibility protocol per instance, guards cluster startup with mimus_required_features, and excludes conflicting forks.
