Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Release notes
Changelog
Elyra

Architecture

ElyraSQL is a Cargo workspace of focused crates. Third-party engines are internal dependencies only — nothing user-facing (SQL, errors, CLI, wire handshake) exposes their names.

              MySQL clients / drivers
                       │  (MySQL wire protocol)
              ┌────────▼────────┐
              │  elyra-server   │   auth, TLS, prepared statements
              └────────┬────────┘
              ┌────────▼────────┐
              │  elyra-engine   │   parse → plan → execute, sessions/txns
              └───┬────────┬────┘
      ┌───────────▼──┐  ┌──▼───────────┐  ┌──────────────┐
      │ elyra-storage│  │  elyra-olap  │  │ elyra-vector │
      │ single file  │  │  streaming   │  │  HNSW ANN    │
      │ ACID (redb)  │  │  aggregation │  │              │
      └──────────────┘  └──────────────┘  └──────────────┘
                    all share  ▲  elyra-core (types, values, errors)

Crates

Crate Responsibility
elyra-core Value/type model, errors, comparison, date/decimal helpers, privileges.
elyra-storage Single-file ACID key/value engine (redb); Db (group commit + concurrent reads) and MVCC Snapshot.
elyra-engine SQL parsing (MySQL dialect), planning, execution, sessions/transactions, catalog, indexes.
elyra-olap Mergeable streaming group-aggregation kernel.
elyra-vector Vector distance metrics and the HNSW index.
elyra-wire First-party MySQL wire protocol (forked from opensrv-mysql): handshake, auth plugins (mysql_native_password, caching_sha2_password), TLS (rustls 0.23), text/binary result sets.
elyra-server Connection handling on top of elyra-wire: auth verification, TLS config, prepared-statement dispatch, metrics/audit.
elyra-cli The elyrasql binary.

Storage model

Everything lives in one file, a redb B-tree, partitioned by key prefix:

Prefix Contents
catalog::<table> table schema
data::<table>::<key> rows, clustered on the primary key (or hidden rowid)
index::<table>::<index>::… secondary index entries
meta::… row-id counters, per-table write counters

Keys use an order-preserving ("memcomparable") encoding so B-tree order matches SQL order — including composite keys, where text components are escaped and terminated to stay self-delimiting.

Concurrency

  • Reads open their own MVCC snapshot and run on a blocking pool — unlimited concurrent readers, no contention.
  • Writes funnel through one dedicated writer thread that group-commits many pending writes into a single transaction, turning a potential write lock-convoy into a throughput win.
  • Transactions take a snapshot at BEGIN and buffer writes in an overlay, giving snapshot isolation (see Transactions).

Query execution

The planner chooses per query: clustered point lookup, secondary index (equality or range), index nested-loop / hash join, streaming scan, or the parallel aggregation path. Result sets stream to the wire in bounded batches where possible.