Benchmarks and reproduction
This page has the performance numbers, how they were measured, and how to re-run both the benchmarks and the correctness proofs yourself.
These are small-box measurements on a pre-1.0 build, not capacity guarantees. Run them on your own hardware with your own workload before sizing anything.
PostgreSQL wire against PostgreSQL 16
Method. pgbench and a fixed query set on a 12-vCPU AMD EPYC VM, SynergyDB and PostgreSQL 16 on the same host, median of 3 runs, commit 0899072 (2026-11-23, before the 2026-11-24 merges). SynergyDB ran with wal_sync_mode = "every_write", so every commit is synced. Percentages are SynergyDB throughput as a share of PostgreSQL's; above 100% means SynergyDB is faster. pgbench was stock (-i -s 10, then default, -S and -N at 1, 8 and 32 clients, three rounds each). (source: README.md, Performance against PostgreSQL 16)
Raw data: docs/proof/2026-11-24/bench/pg16-box108-2026-11-23.csv
| Workload | 1 client | 8 clients | 32 clients |
|---|---|---|---|
| TPC-B (pgbench default) | 104% | 98% | 88% |
Read-only (-S) |
112% | 106% | 114% |
Write-heavy (-N) |
102% | 90% | 95% |
| Single-session workload | SynergyDB vs PG16 |
|---|---|
Bulk load, pgbench -i -s 10
|
108% (1.72 s vs 1.85 s) |
| UPDATE of 1M rows | 83% (8.5 s vs 7.0 s) |
| Scans of 1M rows after that UPDATE (sum, filters, GROUP BY, ORDER BY LIMIT) | 2.6x to 8x faster |
| Range join over 1M rows | 70% |
| Prepared statements on 200k rows: point PK read, PK update, insert | 94% to 105% |
| Prepared: indexed filter | 116% |
| Prepared: non-key filter, full aggregate, GROUP BY | 77% to 84% |
| Prepared: range join | 71% |
count(*) over the updated table returns in 3 ms against PostgreSQL's 58 ms. It is answered from maintained counts, so it is not quoted as a scan result. (source: README.md)
What this means. Point reads and read-heavy work are at or above PostgreSQL 16 on this box. Joins and high-concurrency write mixes are where SynergyDB is slower today: range joins at about 70%, 32-client TPC-B at 88%.
Not verified: these numbers predate the 2026-11-24 and later merges; no rerun on the a3232c9 build is recorded. They come from one VM type.
Other wires
Same 4-vCPU box as the scorecard, each project's own benchmark tool where one exists. Raw files: docs/proof/2026-11-24/bench/. (source: README.md, Other wires)
| Wire | Result (SynergyDB as a share of the reference) |
|---|---|
| Kafka | Java perf tools: produce 109% to 169% of Kafka while fsyncing every request (Kafka does not fsync by default); consume 95% to 102% |
| Memcached | memtier: miss-heavy 92%, hit-heavy 95% to 106%, pipelined 90%, write-only 90%, while persisting every write. Crash-safe mode (SYNERGYDB_MEMCACHED_DURABILITY=sync): 43% to 67% |
| CouchDB | Same driver: single PUT 3.4x, GET 3.6x, _bulk_docs 3.0x, indexed _find 4.4x, view query 2.1x, _all_docs paging 1.1x CouchDB |
| Redis | redis-benchmark against Redis with appendfsync always: GET 130%, SET 80%, INCR 70%, LPUSH 60%, HSET 53%, SADD/ZADD 33% to 40%. Against Redis with no fsync: 31% to 40% |
| Neo4j | Small local run, no indexes: writes 1.5x to 1.9x, point reads and traversals 1.2x to 2.1x Neo4j, but count(n) over all nodes 30% |
| MongoDB | pymongo, 8 processes, every write fsynced: find by _id 459% of mongo:6, indexed find 495%, update $inc 122%, findAndModify 127%, scans/count/$group 2x to 2.8x, insert_one 87% (124% against mongo:6 with j:true), insert_many 69% (98% against j:true). Details: docs/proof/2026-11-24/bench/mongo-pymongo.md
|
| Arrow Flight SQL | All 22 TPC-H queries take 9.1 s on a release build against 0.32 s for GizmoSQL (DuckDB) |
Durability context matters. SynergyDB persists every write in these runs. Where the reference does not (Kafka by default, Redis without fsync, memcached never), the comparison favours the reference on durability and SynergyDB on speed, or the reverse; each row says which setting was used.
Not benchmarked yet: MySQL (sysbench), Cassandra, ClickHouse, InfluxDB, Gremlin, S3, SQL Server, Oracle, Elasticsearch, DynamoDB. (source: README.md)
Not verified: behaviour at large data sizes (hundreds of GB and up), long-running soak under load, and cluster-mode throughput. A soak harness built to run for days exists, but the recorded runs lasted about 25 and 7 minutes (source: docs/status/2026-11-27-multi-day-soak.md). Known memory issues on restart are listed in Operations.
Reproduce the benchmarks
make bench # throughput only
make bench ARGS='--bench-clients 1,8,32 --pg-scale 50 --bench-secs 30' # on a big box
make bench uses each database's own benchmark tool where one exists (pgbench, sysbench, redis-benchmark, memtier_benchmark, Kafka's perf tools) and identical client code otherwise. (source: README.md, Reproduce the proofs; prove/README.md)
Reproduce the correctness proofs
One command
git clone https://github.com/SynergyTech0/synergydb && cd synergydb
make prove
make prove (a wrapper for prove/prove.sh) builds SynergyDB, then for each wire starts the real database in Docker next to a fresh SynergyDB and runs the differential suites: one connection, a second connection, and a re-read after SynergyDB is killed with kill -9. It writes prove/out/latest/report.html and report.md with per-wire scores, speed against the reference, every check that differed, and the known gaps. Only one reference runs at a time, so it fits in 8 to 16 GB of RAM. It needs Docker, Python 3.10+ and Rust (or SDB_BIN=/path/to/synergydb). (source: README.md; prove/README.md)
Options: make prove ARGS='--wires postgres,mysql' for a subset, make prove-quick for correctness only. Wire names for --wires: postgres, mysql, mongo, cypher, redis, memcached, cassandra, clickhouse, influxdb, gremlin, dynamodb, elasticsearch, s3, kafka, schema_registry, couchdb, mssql, oracle. (source: prove/wires.py)
Snowflake, Prometheus, Arrow Flight SQL, SQLite and gRPC have separate harnesses, listed on their wire pages.
By hand
1. Build and start the reference engines. About 15 GB of RAM to run all at once; start them in batches on a smaller box.
cargo build --release --features full
test-scripts/wire-diff/refs-core.sh # PG 16, MySQL 8, Mongo 6, Neo4j 5, Redis 7, memcached,
# Cassandra 4.1, dynamodb-local, InfluxDB 1.8,
# ClickHouse 24.8, gremlin-server 3.7.2
test-scripts/wire-diff/refs.sh # LocalStack S3, Kafka 3.8, CouchDB 3,
# SQL Server 2022, Oracle 23 Free
docker run -d --name ref-redis-aof -p 6381:6379 redis:7 \
redis-server --appendonly yes --appendfsync always
docker run -d --name ref-es -p 9202:9200 -e discovery.type=single-node \
-e xpack.security.enabled=false elasticsearch:8.15.0
2. Python dependencies (one venv is enough): psycopg2-binary pymysql pymongo neo4j redis pymemcache cassandra-driver gevent clickhouse-connect requests boto3 "kafka-python<3" lz4 confluent-kafka python-tds oracledb "gremlinpython==3.7.*" aiohttp async_timeout. The Gremlin client must be 3.7.x.
3. S3, Kafka, CouchDB, SQL Server and Oracle start their own SynergyDB with real authentication:
PYTHON=venv/bin/python test-scripts/wire-diff/run.sh # all five
PYTHON=venv/bin/python test-scripts/wire-diff/run.sh "kafka s3" # a subset
4. The other suites run against one SynergyDB started with the all-wires diff config, which puts every wire on an offset port so the reference engines keep the standard ones. This uses the test-only auth switch; never use it on a reachable server.
SYNERGYDB_DEV_INSECURE_AUTH=1 ./target/release/synergydb \
-c test-scripts/synergydb.wirediff.toml
Then run each wire's command from its wire page. Each script prints its own pass rate and exits non-zero on a divergence when run with --strict (where supported). The restart phases need a command that kills and restarts your SynergyDB, and suites that share one server can see each other's objects, so start from an empty data directory. (source: README.md, Running the suites by hand)
The proof files behind the scorecard
| File | What it is |
|---|---|
docs/proof/2026-11-30/proof-pack-a3232c9/report.md, report.html
|
The proof-pack report: 4625/4662 checks match, 18 wires |
docs/proof/2026-11-30/proof-pack-a3232c9/results.json |
Machine-readable results for the same run |
docs/proof/2026-11-30/proof-pack-a3232c9/logs/ |
One log per suite |
docs/proof/2026-11-30/proof-pack-a3232c9/snowflake-statement-diff.txt |
Snowflake statement diff against a real account: 174/177 |
docs/proof/2026-11-30/proof-pack-a3232c9/flight-sql-adbc-app.md |
Arrow Flight SQL ADBC app against GizmoSQL: 67/68 |
docs/proof/2026-11-30/proof-pack-a3232c9/promql-compliance-run.txt.gz |
Official PromQL compliance suite against Prometheus 3.13.5: 661/661 |
docs/proof/2026-11-24/bench/ |
Benchmark raw data |
(source: docs/proof/2026-11-30/README.md)