3D Engine Live
Touch or drag 3D database tiers
Real-Time Streaming Columnar Engine

Sub-Millisecond Durable Writes. Zero-DDL Columnar Analytics.

DuckDB is engineered for bulk analytical scans. Document stores handle row writes but crawl during aggregations. SynapseDB bridges the gap: ingest single JSON rows at sub-millisecond speeds with synchronous fsync WAL durability, and compute vectorized columnar aggregations in microseconds.

Compare vs. DuckDB
0.75 ms p50 fsync WAL (1,142+ writes/sec) < 25 μs Columnar SIMD Scan Zero-DDL Auto-Widening
Durable Write
0.75 ms p50
1,142+ writes/sec hardware fsync
Analytics
< 25 μs
Vectorized SIMD memory scans
Schema
Zero DDL
Auto-infer & numeric widening
Deterministic AI
< 15 μs
In-process CPU SLM, $0 cost
Architectural Matrix

Why SynapseDB? The Technical Wedge

DuckDB is analytical-first. MongoDB is document-first. Here is how SynapseDB unites durable high-rate writes with instant columnar analytics:

Capability / Metric SynapseDBDuckDBMongoDBPostgreSQL (JSONB)
Single-Row Durable Write0.75 ms p50 (1,142+ writes/sec fsync)Slow (Bulk-optimized)~15 ms~8 ms
Write Durability BarrierSynchronous fsync + CRC32Periodic batch syncWriteConcern majorityfsync WAL
Schema DefinitionZero DDL (Auto-Widening)Auto-infer or DDLZero DDL (Schemaless)Strict CREATE TABLE
Columnar Aggregation Speed< 25 μs (Cloud) / 223 μs (Local)~0.10 ms (Columnar)~250 ms (Doc Scan)~45 ms (Row Scan)
Min/Max Zone Map PruningNative Chunk Zone MapsRow-Group StatsNone (Index Scan)BRIN Index
Natural Language to SQL LayerEmbedded CPU SLM (< 15 μs)NoneNone (Cloud API)None (Cloud API)
External AI Cost & Privacy Leak$0 & 100% In-Process$0 (N/A)External Token MeterExternal Token Meter
Engine Durability Proof

Adopted on Trust, Not Just Speed

Databases earn adoption through crash-recovery guarantees and rigorous durability boundaries.

1

CRC32 Verification

Every 24-byte WAL frame header encodes IEEE 802.3 CRC32 checksums. Bit rot or incomplete writes fail immediately on decode.

Bit-flip detection
2

Hardware fsync Write Barrier

Extracts raw file descriptors to execute physical sync_all() before returning row ACKs to callers.

OS cache bypass
3

Atomic Rename & Dir Sync

Columnar segments write to .tmp, fsync physical blocks, rename atomically, and sync POSIX directory inodes.

Zero orphan blocks
4

Torn-Write Truncation Suite

Tested with simulated power outages: incomplete garbage bytes at the end of the WAL are automatically truncated to recover valid prefixes.

17/17 tests passing
Small Language Model Innovation

Why an Embedded CPU SLM Beats Cloud LLMs

Most teams reach for remote LLM APIs and regret the latency, recurring costs, and non-deterministic hallucinations. SynapseDB builds the intelligence directly into the CPU engine.

SynapseDB Embedded SLM⚡ < 50 μs

Deterministic In-Process Compiler

  • Microsecond Latency: Compiles plain English into verified SQL AST in < 50 microseconds directly on the host CPU.
  • $0 Infrastructure Cost: Zero token meters, zero monthly OpenAI invoices, zero external API keys required.
  • 100% Reproducible Output: Identical phrasing reliably produces the exact same mathematical execution plan.
  • Zero Data Leakage: Not a single byte of query or table metadata is transmitted outside your server.
Native Rust Crate (synapse-slm)Active
Traditional Cloud LLMs (OpenAI/Anthropic)🐢 200–800 ms

Remote Cloud API Dependency

  • High Network Latency: 200–800 ms HTTP roundtrips destroy real-time database query responsiveness.
  • Exponential Cloud Costs: Every user query consumes metered API tokens that scale with traffic.
  • Non-Deterministic Flakiness: Model temperature and version updates can randomly produce broken SQL syntax.
  • Privacy & Compliance Risks: User queries and table schemas are transmitted to third-party AI cloud providers.
Avoided by SynapseDB Architecture
Hands-On Query Sandbox

Test a Query in 1 Second

Click any sample query below or type your own to experience SynapseDB's vectorized scan speed.

synapsedb://rides
Demo Sandbox Ready
Sample queries:
Result Table (4 records)
Speed: 14 μs
drivertripsavg_faretotal_revenue
Alice14234.84,941.6
Diana12841.25,273.6
Bob9528.52,707.5
Marcus88322,816
Ready to ingest your own JSON data and run natural language queries?
Frequently Asked Questions

Understanding the SynapseDB Architecture

QHow does SynapseDB compare to DuckDB?

DuckDB is built for bulk analytics over Parquet files and local tables. However, DuckDB lacks high-rate single-row durable writes—under high concurrency, its single-writer model and lack of an append-only WAL introduce latency spikes. SynapseDB bridges this exact gap: it gives you sub-millisecond synchronous fsync single-row appends alongside in-memory vectorized columnar analytics.

QWhat is Zero-DDL columnar analytics?

Zero-DDL eliminates CREATE TABLE statements, migration scripts, and schema drift headaches. When you push raw JSON payloads or key-value logs, SynapseDB's dynamic catalog infers data types in real-time, automatically widens numeric types when larger values arrive, and vectorizes rows into contiguous memory vectors for instant analytics.

QHow does SynapseDB guarantee write durability during crashes?

Every write appends a 24-byte header containing CRC32 checksums and invokes physical hardware sync_all() write barriers to ensure pages reach non-volatile disk. On startup, SynapseDB automatically scans for torn tail writes, truncating incomplete frames and restoring 100% of committed transactions.

QWhy use an embedded CPU Small Language Model (SLM) instead of cloud LLMs?

Cloud LLMs (like GPT-4) take 200–800 ms per query, incur recurring API costs, introduce non-deterministic errors, and transmit private customer data to third parties. SynapseDB's deterministic CPU SLM runs locally in under 50 microseconds, costs $0, produces 100% reproducible SQL ASTs, and ensures zero bytes leave your hardware.

QHow is multi-tenant user isolation enforced?

Every user session is authenticated via Bearer tokens. The API gateway automatically routes queries and writes into dedicated user partitions (u_<user_id>_). User A cannot query, view, or mutate User B's tables, and direct access to partition or internal system tables is strictly blocked with 403 Forbidden.

Free & Open Source Rust Core

Experience Sub-Millisecond Durable Analytics

Create your free account or test the online playground directly from your browser.

View GitHub Repository