Benchmarks

This page summarizes curated benchmark results for Eden's Eve gateway runtime. Raw benchmark artifacts are environment-specific and are intentionally not committed. Treat these numbers as a public performance brief from controlled internal runs, not as a universal hardware guarantee.

Redis is the most mature production gateway protocol in this release. Results for AI/LLM, Postgres, Mongo, and other direct gateway surfaces should be read as current direct-path benchmark data and validated against your own workload before capacity commitments.

Summary

Eve is Eden's high-performance data plane. It proxies Redis traffic and OpenAI-compatible AI workloads, and is being evaluated on Postgres gateway traffic, while preserving layer-7 awareness for policy, analysis, routing, mirroring, migration, and telemetry.

The key result from the current benchmark set: Eve is competitive with Envoy on raw gateway throughput while doing substantially more product work inline. On Postgres, Eve outperformed direct Postgres and PgDog on every 512-client workload in the suite. On a matched Redis workload, Eve used about one-third less CPU per completed request than Envoy and produced lower tail latency. Newer direct-path max sweeps identify clean capacity knees for Redis, Postgres, Mongo, and LLM endpoint families.

ClaimProof PointBaseline
Higher Postgres throughputUp to 1.68x direct Postgres throughput on prepared read-only at 512 clientsDirect Postgres
Lower Postgres latency3.409 ms average prepared-read latency vs 5.719 ms directDirect Postgres
Broader Postgres suite winEve beat direct Postgres and PgDog on every 512-client workload in the suiteDirect Postgres / PgDog
Lower CPU cost per request10.83 vs 15.95 CPU-seconds per million Redis requests at matched 400k req/sEnvoy Redis proxy
Lower Redis tail latencyp99 2.10 ms vs 2.37 ms; p99.9 3.25 ms vs 3.67 msEnvoy Redis proxy
Redis direct-path clean knee8 vCPU synthetic RESP run stayed clean through 600k offered req/sCacophony synthetic RESP backend
Postgres direct-path ceiling8 vCPU synthetic select-only run reached 120k TPSCacophony synthetic Postgres backend
Mongo direct-path ceiling8 vCPU synthetic OP_MSG find run reached 27.6k req/sCacophony synthetic Mongo backend
LLM direct-path clean knee8 vCPU small-response OpenAI-compatible run stayed clean through 5k req/sSynthetic OpenAI-compatible backend
Redis large-payload throughputUp to 15.5 Gb/s wire / 1.94 GB/s payload goodputEnvoy Redis proxy
Live observability185-metric catalog, gateway timing breakdowns, traces, logs, and ClickHouse/DuckDB exportProxy counters

For capacity planning, start with the Gateway Capacity Planning page. It separates clean operating points from overload peaks.

Capacity Knees

The clean knee is the highest measured load that completed without benchmark errors, Eden shedding, or status failures. Peak completed throughput is useful for diagnosis, but it is not a safe operating target when the same run shows backpressure, client errors, or long queues.

Endpoint workload1 vCPU clean knee2 vCPU clean knee4 vCPU clean knee8 vCPU clean knee8 vCPU first overload8 vCPU peak completed
Redis, real backend, mixed GET/SET200k req/s400k req/s400k req/s400k req/s500k req/s501k req/s
Redis, synthetic RESP backendbelow 400k req/s500k req/s550k req/s600k req/s650k req/s616k req/s
Postgres, real TPC-B workload3.3k TPS4.2k TPS4.2k TPS4.2k TPSnot reached4.2k TPS
Postgres, synthetic select-only17.4k TPS35.5k TPS67.2k TPS120.2k TPSnot reached120.2k TPS
Mongo, synthetic OP_MSG find8.3k req/s13.9k req/s23.2k req/s27.6k req/snot reached27.6k req/s
LLM, synthetic OpenAI chat2.0k req/s3.0k req/s4.0k req/s5.0k req/s6.0k req/s5.6k req/s

Postgres Gateway

The current Postgres benchmark compared Eve against direct Postgres and PgDog on Adam, Eden's 32-CPU Ubuntu 24.04 benchmark host. The run used pinned CPU groups for the proxy, Postgres, and load generator, 15-second pgbench phases, scale 10, and workloads covering simple reads, prepared reads, autocommit writes, inserts, and mixed read/write traffic. The suite completed 126 benchmark rows with zero failed rows.

At 512 clients, Eve was ahead of both direct Postgres and PgDog on every workload in the suite.

Workload at 512 clientsDirect TPSDirect avg latencyPgDog TPSEve TPSEve avg latencyEve vs direct
Simple select110,6084.629 ms87,043172,5842.967 ms1.56x
Read only59,1758.652 ms64,97298,9725.173 ms1.67x
Extended read only53,7729.522 ms64,88985,9285.958 ms1.60x
Prepared read only89,5225.719 ms87,378150,1913.409 ms1.68x
Autocommit update49,92910.255 ms57,50870,7377.238 ms1.42x
Autocommit insert75,6286.770 ms66,752104,1064.918 ms1.38x
Read/write mix6,58277.787 ms7,5297,99564.040 ms1.21x

The read-heavy cases show the largest gap, but the write-heavy and mixed cases also improved. The smaller read/write-mix uplift is important context: correctness narrows the amount of work a gateway can safely reorder or multiplex. Eve's Postgres path should take the fast path when protocol and SQL shape make it safe, and return to the conservative path when query or session state requires exact ordering.

These Postgres numbers should be read as development and evaluation data. Redis is still the production-ready gateway protocol in this release.

Redis Gateway

Matched Throughput

At a controlled 400k req/s mixed Redis load where both gateways completed the same work without shedding, Eve matched Envoy throughput with lower latency and lower CPU use.

TargetCompleted req/sShedp99p99.9
Direct Redis~305,9211,881,3035.72 ms-
Envoy Redis~399,90102.37 ms3.67 ms
Eve Redis Gateway~399,90802.10 ms3.25 ms

CPU attribution from the sampled run:

TargetCPU-s / million reqCycles / reqInstructions / reqDSO Split
Envoy Redis15.95~53.7k~33.4k~53% kernel / ~38% envoy
Eve Redis Gateway10.83~35.2k~23.9k~72% kernel / ~18% eden-service

Direct Redis was saturated at this offered load, so it is best read as a saturation signal rather than an added-latency baseline.

Overload Behavior

In a 400k offered open-loop Redis load, Eve sustained materially more completed throughput than Envoy while avoiding shed.

TargetCompleted req/sShedp99
Direct Redis287k2.02M5.99 ms
Envoy Redis165k4.57M7.27 ms
Eve Redis Gateway384k02.45 ms

With telemetry export and capture-all request analysis enabled, Eve still held 384k req/s at zero shed with p99 3.93 ms on this workload.

Large Payload Throughput

On 64 KiB Redis GET workloads, Eve was competitive with Envoy on wire throughput and showed cleaner error behavior at saturation.

TopologyEve PeakEnvoy PeakNotes
Single backend, 4 vCPU14.0 Gb/s13.9 Gb/sEve had zero connection errors across the sweep
Single backend, host network, 4 vCPU14.4 Gb/s13.6 Gb/sEve stayed error-free through peak
Four backends, ring hash, 4 vCPU15.5 Gb/s16.1 Gb/sEve was within ~3.5% on wire, with 0 errors vs Envoy's 11
Single backend, 6-8 vCPU~15.0 Gb/s~16.0 Gb/sEve recovered most of the gap with additional cores

The ceiling in these runs was the backend, host, and TCP path rather than only gateway worker count.

AI And LLM Gateway

Eve exposes an OpenAI-compatible AI gateway for chat, multi-agent/tool, and streaming workloads. These runs used a synthetic OpenAI-compatible backend and a generic Envoy HTTP proxy.

Sustained Load

Earlier large-response HTTP comparison runs used the same synthetic upstream behind Eve and Envoy. Those runs are useful for wire-throughput behavior, not for the small-response request-rate knee above.

WorkloadEve Clean CeilingEnvoy Behavior
Buffered 64 KiB responses12k req/s, 6.36 Gb/s, p99 1.68 ms, 0 errorsCollapsed at 8k offered: 2,530 req/s and 42,779 errors
Streaming 64 KiB responses6k req/s, 3.75 Gb/s, p99 1.64 ms, 0 errorsCollapsed at 6k offered: 2,421 req/s and 24,137 errors

The current small-response direct-path sweep found an 8-vCPU clean knee of 5k req/s and an overload plateau of about 5.6k completed req/s.

Latency

WorkloadEve Req/sErrorsp50p99p99.9
Multi-agent, 2k offered, 8 tool schemas1,998.800.60 ms1.38 ms1.69 ms
Streaming, 1k offered999.800.72 ms0.94 ms0.99 ms
LLM chat, 5k offered, 8 vCPU4,993.900.71 ms1.56 ms1.79 ms
LLM chat, 6k offered, 8 vCPU5,212.06,909194.30 ms200.96 ms201.86 ms

Observability Validation

Eve telemetry was validated end-to-end under live Redis load. In a 30-minute window with a 100k-request Redis workload running at 175,472 req/s, the runtime produced:

  • 185 metrics across core, gateway, LLM, IAM, endpoint, workload, migration,

tool-safety, and analytics groups.

  • 14,043 gateway metric rows stored in ClickHouse, including request and command

counts, per-command duration, endpoint-vs-overhead timing, parse decode/materialize breakdown, bridge queue/write timing, byte counters, and mirror latency/divergence.

  • 2,105 trace spans captured and queryable alongside structured logs.
  • Dashboard series coverage from emission through storage, query, and UI.

This matters because Eve's performance profile includes built-in protocol-aware observability rather than only generic proxy counters.

Capability Context

The raw numbers should be read alongside the feature set being exercised. Redis is one measured protocol in this report, but the product surface is broader: Eden is a data and AI gateway for databases, model providers, and agent workloads.

CapabilityEden / EveEnvoy / Envoy-Based GatewayHAProxy / TCP Baseline
Protocol awarenessLayer-7 protocol handling across gateway families: Redis/RESP, Postgres, Mongo, HTTP/OpenAI-compatible AI, and endpoint schemasStrong HTTP/L7 proxying, with narrower protocol-specific database support depending on filters/extensionsByte forwarding unless custom protocol logic is added outside the proxy
Data gateway behaviorRequest routing, endpoint-aware dispatch, database policy hooks, interlays, mirroring, migration routing, and consistency checksGeneric routing/load balancing plus protocol-specific features where availableGeneric server selection and health checks
AI gateway behaviorOpenAI-compatible chat, streaming, agent/tool workloads, request normalization, routing hooks, and usage accountingUsually delivered through Envoy-based AI gateway products or custom filtersNot applicable at L7
Per-request analysisCommand/query/request classification, audit events, analytics, prompt/tool-shape analysis, and policy decisionsMostly proxy/filter counters and access logs unless extended by custom servicesConnection/request logs only
Content securityPII detection, redaction/blocking hooks, prompt security inspection, and policy enforcement pathsRequires separate filters, external authorization, or companion servicesNot available without application-side tooling
Auth and policyControl-plane JWT/RBAC/ELS plus upstream protocol credentials such as Redis ACLs and database/user credentialsProxy auth, external auth, and protocol auth where configuredGeneric TCP/TLS/userlist controls
Mirroring and migrationRead/write toggles, sampling, in-flight limits, divergence metrics, ratio routing, user-hash routing, fallback-on-miss, and version comparison pathsMirroring/routing support varies by protocol and deployment modelNot available beyond generic fanout patterns
ObservabilityBuilt-in metrics, logs, traces, per-command/per-request timing, parse breakdowns, pool/lane/mirror/bridge metrics, and ClickHouse/DuckDB exportAdmin counters, histograms, access logs, and tracing integrationsStats/Prometheus when configured

Reproducing Workloads

Source benchmark tools for the Redis and AI workloads live in the repository's [benchmark/](https://github.com/eden-dev-inc/eden/tree/main/benchmark) directory:

  • cacophony runs open-loop Redis workloads and synthetic Redis, Postgres, and

Mongo wire backends.

  • profile-eve-vcpu-knee-sweep.sh runs Redis vCPU knee and max sweeps.
  • profile-postgres-synthetic-vcpu-sweep.sh runs Postgres synthetic gateway

ceiling sweeps.

  • profile-mongo-synthetic-vcpu-sweep.sh runs Mongo synthetic gateway ceiling

sweeps.

  • profile-llm-synthetic-vcpu-sweep.sh runs OpenAI-compatible LLM request-rate

sweeps.

  • ai-workload runs synthetic OpenAI-compatible HTTP workloads.

The Postgres results above used a pgbench suite against direct Postgres, PgDog, and Eve on Adam with pinned CPU groups. The curated result table is published here; raw host artifacts and scenario files are not committed because they are environment-specific.

Keep raw result files, profiler captures, and host-specific scenario files outside the repository unless they are deliberately curated for publication.

Last updated: July 10, 2026