{
  "schemaVersion": 1,
  "generated": "2026-09-02T23:31:25Z",
  "ekodb": {
    "version": "0.70.1",
    "commit": "5af3aca9",
    "clean": true,
    "branch": "main",
    "commitUrl": "https://github.com/ekoDB/ekodb/commit/5af3aca95dc764f0e31d10c6c6aa05f1549be78b"
  },
  "run": {
    "recordCount": 1000000,
    "operationCount": 1000000,
    "threads": 64,
    "workloads": [
      "workloada",
      "workloadb",
      "workloadc",
      "workloadd",
      "workloadf"
    ],
    "reproduce": "make bench-ycsb-compare"
  },
  "conditions": {
    "ekodb": {
      "storage_mode": "fast",
      "durable_operations": true,
      "kv_durable_operations": true,
      "group_commits": true,
      "group_commit_mode": "leader_election",
      "group_commit_delay_ms": 2,
      "wal_shards": 4,
      "encrypt_ids": true,
      "encrypt_manifests": true,
      "encrypt_wal": true,
      "audit_logging": true
    },
    "durability": {
      "redis": "appendonly=yes, appendfsync=always",
      "mongodb": "w=1, journal=true, journalCommitInterval=2ms",
      "postgresql": "synchronous_commit=on, fsync=on, commit_delay=2000µs, commit_siblings=2",
      "mysql": "innodb_flush_log_at_trx_commit=1, sync_binlog=1, binlog_group_commit_sync_delay=2000µs"
    },
    "encryption": {
      "ekodb": "encrypt_ids=true, encrypt_manifests=true, encrypt_wal=true",
      "postgresql": "none",
      "mysql": "none",
      "mongodb": "none",
      "redis": "none"
    },
    "encryptionAsymmetric": true
  },
  "databases": {
    "ekodb_kv": {
      "workloads": {
        "A": {
          "throughput": 38130.1,
          "avgLatencyUs": 599.9,
          "p95LatencyUs": 904,
          "p99LatencyUs": 956,
          "avgCpu": 133.4,
          "peakCpu": 219.9,
          "runtimeMs": 26226,
          "operations": 0
        },
        "B": {
          "throughput": 104264.4,
          "avgLatencyUs": 543.5,
          "p95LatencyUs": 1196,
          "p99LatencyUs": 1316,
          "avgCpu": 289.4,
          "peakCpu": 341.6,
          "runtimeMs": 9591,
          "operations": 0
        },
        "C": {
          "throughput": 101895.3,
          "avgLatencyUs": 618.4,
          "p95LatencyUs": 1375,
          "p99LatencyUs": 1515,
          "avgCpu": 200,
          "peakCpu": 260.5,
          "runtimeMs": 9814,
          "operations": 0
        },
        "D": {
          "throughput": 89261.8,
          "avgLatencyUs": 642.4,
          "p95LatencyUs": 4471,
          "p99LatencyUs": 6723,
          "avgCpu": 220.3,
          "peakCpu": 291.9,
          "runtimeMs": 11203,
          "operations": 0
        },
        "F": {
          "throughput": 27359,
          "avgLatencyUs": 1102.8,
          "p95LatencyUs": 2785,
          "p99LatencyUs": 5459,
          "avgCpu": 174.1,
          "peakCpu": 317.9,
          "runtimeMs": 36551,
          "operations": 0
        }
      }
    },
    "ekodb_tcp": {
      "workloads": {
        "A": {
          "throughput": 31530.8,
          "avgLatencyUs": 578.7,
          "p95LatencyUs": 835,
          "p99LatencyUs": 895,
          "avgCpu": 144.3,
          "peakCpu": 254.4,
          "runtimeMs": 31715,
          "operations": 0
        },
        "B": {
          "throughput": 83913.7,
          "avgLatencyUs": 617.5,
          "p95LatencyUs": 1764,
          "p99LatencyUs": 3069,
          "avgCpu": 186.9,
          "peakCpu": 271.6,
          "runtimeMs": 11917,
          "operations": 0
        },
        "C": {
          "throughput": 99492.6,
          "avgLatencyUs": 587.2,
          "p95LatencyUs": 1389,
          "p99LatencyUs": 2581,
          "avgCpu": 170.4,
          "peakCpu": 259.6,
          "runtimeMs": 10051,
          "operations": 0
        },
        "D": {
          "throughput": 84817.6,
          "avgLatencyUs": 612.4,
          "p95LatencyUs": 1744,
          "p99LatencyUs": 3279,
          "avgCpu": 177.9,
          "peakCpu": 265.4,
          "runtimeMs": 11790,
          "operations": 0
        },
        "F": {
          "throughput": 35373.2,
          "avgLatencyUs": 470.7,
          "p95LatencyUs": 974,
          "p99LatencyUs": 1113,
          "avgCpu": 221.9,
          "peakCpu": 288.8,
          "runtimeMs": 28270,
          "operations": 0
        }
      }
    },
    "mongodb": {
      "workloads": {
        "A": {
          "throughput": 10849.9,
          "avgLatencyUs": 1053.4,
          "p95LatencyUs": 4087,
          "p99LatencyUs": 6471,
          "avgCpu": 171.9,
          "peakCpu": 222,
          "runtimeMs": 92167,
          "operations": 0
        },
        "B": {
          "throughput": 68451,
          "avgLatencyUs": 555.7,
          "p95LatencyUs": 1745,
          "p99LatencyUs": 2949,
          "avgCpu": 467.7,
          "peakCpu": 566.8,
          "runtimeMs": 14609,
          "operations": 0
        },
        "C": {
          "throughput": 74140,
          "avgLatencyUs": 830.8,
          "p95LatencyUs": 2591,
          "p99LatencyUs": 4843,
          "avgCpu": 475.9,
          "peakCpu": 553.4,
          "runtimeMs": 13488,
          "operations": 0
        },
        "D": {
          "throughput": 71362.3,
          "avgLatencyUs": 496.1,
          "p95LatencyUs": 1597,
          "p99LatencyUs": 2615,
          "avgCpu": 459.9,
          "peakCpu": 544.2,
          "runtimeMs": 14013,
          "operations": 0
        },
        "F": {
          "throughput": 10060.6,
          "avgLatencyUs": 1380.9,
          "p95LatencyUs": 4443,
          "p99LatencyUs": 6491,
          "avgCpu": 150.7,
          "peakCpu": 235.4,
          "runtimeMs": 99398,
          "operations": 0
        }
      }
    },
    "mysql": {
      "workloads": {
        "A": {
          "throughput": 2641.4,
          "avgLatencyUs": 1487.6,
          "p95LatencyUs": 3825,
          "p99LatencyUs": 5967,
          "avgCpu": 53.9,
          "peakCpu": 73.8,
          "runtimeMs": 378591,
          "operations": 0
        },
        "B": {
          "throughput": 27166.5,
          "avgLatencyUs": 282.3,
          "p95LatencyUs": 585,
          "p99LatencyUs": 1348,
          "avgCpu": 199.4,
          "peakCpu": 298.3,
          "runtimeMs": 36810,
          "operations": 0
        },
        "C": {
          "throughput": 58620.1,
          "avgLatencyUs": 1018.1,
          "p95LatencyUs": 1776,
          "p99LatencyUs": 5943,
          "avgCpu": 315.5,
          "peakCpu": 411,
          "runtimeMs": 17059,
          "operations": 0
        },
        "D": {
          "throughput": 45328.9,
          "avgLatencyUs": 688.3,
          "p95LatencyUs": 1996,
          "p99LatencyUs": 7843,
          "avgCpu": 317.2,
          "peakCpu": 401.1,
          "runtimeMs": 22061,
          "operations": 0
        },
        "F": {
          "throughput": 3352.6,
          "avgLatencyUs": 1258.3,
          "p95LatencyUs": 3111,
          "p99LatencyUs": 5359,
          "avgCpu": 73.1,
          "peakCpu": 129.6,
          "runtimeMs": 298272,
          "operations": 0
        }
      }
    },
    "postgresql": {
      "workloads": {
        "A": {
          "throughput": 3658.6,
          "avgLatencyUs": 1390.5,
          "p95LatencyUs": 3693,
          "p99LatencyUs": 5555,
          "avgCpu": 69.9,
          "peakCpu": 135.8,
          "runtimeMs": 273331,
          "operations": 0
        },
        "B": {
          "throughput": 33992.8,
          "avgLatencyUs": 175.2,
          "p95LatencyUs": 372,
          "p99LatencyUs": 583,
          "avgCpu": 158.3,
          "peakCpu": 274.7,
          "runtimeMs": 29418,
          "operations": 0
        },
        "C": {
          "throughput": 104427.7,
          "avgLatencyUs": 586.2,
          "p95LatencyUs": 507,
          "p99LatencyUs": 1184,
          "avgCpu": 327.8,
          "peakCpu": 548.6,
          "runtimeMs": 9576,
          "operations": 0
        },
        "D": {
          "throughput": 70721.4,
          "avgLatencyUs": 300,
          "p95LatencyUs": 591,
          "p99LatencyUs": 937,
          "avgCpu": 294.5,
          "peakCpu": 410.7,
          "runtimeMs": 14140,
          "operations": 0
        },
        "F": {
          "throughput": 3479.3,
          "avgLatencyUs": 1464.4,
          "p95LatencyUs": 4111,
          "p99LatencyUs": 6003,
          "avgCpu": 81.8,
          "peakCpu": 195.9,
          "runtimeMs": 287418,
          "operations": 0
        }
      }
    },
    "redis": {
      "workloads": {
        "A": {
          "throughput": 5966.4,
          "avgLatencyUs": 10702.6,
          "p95LatencyUs": 16735,
          "p99LatencyUs": 21615,
          "avgCpu": 24.3,
          "peakCpu": 46.5,
          "runtimeMs": 167605,
          "operations": 0
        },
        "B": {
          "throughput": 6414.1,
          "avgLatencyUs": 9943.9,
          "p95LatencyUs": 15943,
          "p99LatencyUs": 22271,
          "avgCpu": 23.2,
          "peakCpu": 28.1,
          "runtimeMs": 155907,
          "operations": 0
        },
        "C": {
          "throughput": 92267.9,
          "avgLatencyUs": 689.2,
          "p95LatencyUs": 903,
          "p99LatencyUs": 1081,
          "avgCpu": 75.2,
          "peakCpu": 90.9,
          "runtimeMs": 10838,
          "operations": 0
        },
        "D": {
          "throughput": 5950.7,
          "avgLatencyUs": 10212.2,
          "p95LatencyUs": 15831,
          "p99LatencyUs": 20671,
          "avgCpu": 22.2,
          "peakCpu": 26.5,
          "runtimeMs": 168048,
          "operations": 0
        },
        "F": {
          "throughput": 4075.2,
          "avgLatencyUs": 10413.6,
          "p95LatencyUs": 16103,
          "p99LatencyUs": 21727,
          "avgCpu": 24.6,
          "peakCpu": 29.5,
          "runtimeMs": 245389,
          "operations": 0
        }
      }
    }
  },
  "caveats": [
    "ekoDB encrypts at rest; the competitors in this run do not. Read-side results are encrypted-vs-plaintext, not like-for-like"
  ]
}
