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.
| Claim | Proof Point | Baseline |
|---|---|---|
| Higher Postgres throughput | Up to 1.68x direct Postgres throughput on prepared read-only at 512 clients | Direct Postgres |
| Lower Postgres latency | 3.409 ms average prepared-read latency vs 5.719 ms direct | Direct Postgres |
| Broader Postgres suite win | Eve beat direct Postgres and PgDog on every 512-client workload in the suite | Direct Postgres / PgDog |
| Lower CPU cost per request | 10.83 vs 15.95 CPU-seconds per million Redis requests at matched 400k req/s | Envoy Redis proxy |
| Lower Redis tail latency | p99 2.10 ms vs 2.37 ms; p99.9 3.25 ms vs 3.67 ms | Envoy Redis proxy |
| Redis direct-path clean knee | 8 vCPU synthetic RESP run stayed clean through 600k offered req/s | Cacophony synthetic RESP backend |
| Postgres direct-path ceiling | 8 vCPU synthetic select-only run reached 120k TPS | Cacophony synthetic Postgres backend |
| Mongo direct-path ceiling | 8 vCPU synthetic OP_MSG find run reached 27.6k req/s | Cacophony synthetic Mongo backend |
| LLM direct-path clean knee | 8 vCPU small-response OpenAI-compatible run stayed clean through 5k req/s | Synthetic OpenAI-compatible backend |
| Redis large-payload throughput | Up to 15.5 Gb/s wire / 1.94 GB/s payload goodput | Envoy Redis proxy |
| Live observability | 185-metric catalog, gateway timing breakdowns, traces, logs, and ClickHouse/DuckDB export | Proxy 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 workload | 1 vCPU clean knee | 2 vCPU clean knee | 4 vCPU clean knee | 8 vCPU clean knee | 8 vCPU first overload | 8 vCPU peak completed |
|---|---|---|---|---|---|---|
| Redis, real backend, mixed GET/SET | 200k req/s | 400k req/s | 400k req/s | 400k req/s | 500k req/s | 501k req/s |
| Redis, synthetic RESP backend | below 400k req/s | 500k req/s | 550k req/s | 600k req/s | 650k req/s | 616k req/s |
| Postgres, real TPC-B workload | 3.3k TPS | 4.2k TPS | 4.2k TPS | 4.2k TPS | not reached | 4.2k TPS |
| Postgres, synthetic select-only | 17.4k TPS | 35.5k TPS | 67.2k TPS | 120.2k TPS | not reached | 120.2k TPS |
| Mongo, synthetic OP_MSG find | 8.3k req/s | 13.9k req/s | 23.2k req/s | 27.6k req/s | not reached | 27.6k req/s |
| LLM, synthetic OpenAI chat | 2.0k req/s | 3.0k req/s | 4.0k req/s | 5.0k req/s | 6.0k req/s | 5.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 clients | Direct TPS | Direct avg latency | PgDog TPS | Eve TPS | Eve avg latency | Eve vs direct |
|---|---|---|---|---|---|---|
| Simple select | 110,608 | 4.629 ms | 87,043 | 172,584 | 2.967 ms | 1.56x |
| Read only | 59,175 | 8.652 ms | 64,972 | 98,972 | 5.173 ms | 1.67x |
| Extended read only | 53,772 | 9.522 ms | 64,889 | 85,928 | 5.958 ms | 1.60x |
| Prepared read only | 89,522 | 5.719 ms | 87,378 | 150,191 | 3.409 ms | 1.68x |
| Autocommit update | 49,929 | 10.255 ms | 57,508 | 70,737 | 7.238 ms | 1.42x |
| Autocommit insert | 75,628 | 6.770 ms | 66,752 | 104,106 | 4.918 ms | 1.38x |
| Read/write mix | 6,582 | 77.787 ms | 7,529 | 7,995 | 64.040 ms | 1.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.
| Target | Completed req/s | Shed | p99 | p99.9 |
|---|---|---|---|---|
| Direct Redis | ~305,921 | 1,881,303 | 5.72 ms | - |
| Envoy Redis | ~399,901 | 0 | 2.37 ms | 3.67 ms |
| Eve Redis Gateway | ~399,908 | 0 | 2.10 ms | 3.25 ms |
CPU attribution from the sampled run:
| Target | CPU-s / million req | Cycles / req | Instructions / req | DSO Split |
|---|---|---|---|---|
| Envoy Redis | 15.95 | ~53.7k | ~33.4k | ~53% kernel / ~38% envoy |
| Eve Redis Gateway | 10.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.
| Target | Completed req/s | Shed | p99 |
|---|---|---|---|
| Direct Redis | 287k | 2.02M | 5.99 ms |
| Envoy Redis | 165k | 4.57M | 7.27 ms |
| Eve Redis Gateway | 384k | 0 | 2.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.
| Topology | Eve Peak | Envoy Peak | Notes |
|---|---|---|---|
| Single backend, 4 vCPU | 14.0 Gb/s | 13.9 Gb/s | Eve had zero connection errors across the sweep |
| Single backend, host network, 4 vCPU | 14.4 Gb/s | 13.6 Gb/s | Eve stayed error-free through peak |
| Four backends, ring hash, 4 vCPU | 15.5 Gb/s | 16.1 Gb/s | Eve 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/s | Eve 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.
| Workload | Eve Clean Ceiling | Envoy Behavior |
|---|---|---|
| Buffered 64 KiB responses | 12k req/s, 6.36 Gb/s, p99 1.68 ms, 0 errors | Collapsed at 8k offered: 2,530 req/s and 42,779 errors |
| Streaming 64 KiB responses | 6k req/s, 3.75 Gb/s, p99 1.64 ms, 0 errors | Collapsed 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
| Workload | Eve Req/s | Errors | p50 | p99 | p99.9 |
|---|---|---|---|---|---|
| Multi-agent, 2k offered, 8 tool schemas | 1,998.8 | 0 | 0.60 ms | 1.38 ms | 1.69 ms |
| Streaming, 1k offered | 999.8 | 0 | 0.72 ms | 0.94 ms | 0.99 ms |
| LLM chat, 5k offered, 8 vCPU | 4,993.9 | 0 | 0.71 ms | 1.56 ms | 1.79 ms |
| LLM chat, 6k offered, 8 vCPU | 5,212.0 | 6,909 | 194.30 ms | 200.96 ms | 201.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.
| Capability | Eden / Eve | Envoy / Envoy-Based Gateway | HAProxy / TCP Baseline |
|---|---|---|---|
| Protocol awareness | Layer-7 protocol handling across gateway families: Redis/RESP, Postgres, Mongo, HTTP/OpenAI-compatible AI, and endpoint schemas | Strong HTTP/L7 proxying, with narrower protocol-specific database support depending on filters/extensions | Byte forwarding unless custom protocol logic is added outside the proxy |
| Data gateway behavior | Request routing, endpoint-aware dispatch, database policy hooks, interlays, mirroring, migration routing, and consistency checks | Generic routing/load balancing plus protocol-specific features where available | Generic server selection and health checks |
| AI gateway behavior | OpenAI-compatible chat, streaming, agent/tool workloads, request normalization, routing hooks, and usage accounting | Usually delivered through Envoy-based AI gateway products or custom filters | Not applicable at L7 |
| Per-request analysis | Command/query/request classification, audit events, analytics, prompt/tool-shape analysis, and policy decisions | Mostly proxy/filter counters and access logs unless extended by custom services | Connection/request logs only |
| Content security | PII detection, redaction/blocking hooks, prompt security inspection, and policy enforcement paths | Requires separate filters, external authorization, or companion services | Not available without application-side tooling |
| Auth and policy | Control-plane JWT/RBAC/ELS plus upstream protocol credentials such as Redis ACLs and database/user credentials | Proxy auth, external auth, and protocol auth where configured | Generic TCP/TLS/userlist controls |
| Mirroring and migration | Read/write toggles, sampling, in-flight limits, divergence metrics, ratio routing, user-hash routing, fallback-on-miss, and version comparison paths | Mirroring/routing support varies by protocol and deployment model | Not available beyond generic fanout patterns |
| Observability | Built-in metrics, logs, traces, per-command/per-request timing, parse breakdowns, pool/lane/mirror/bridge metrics, and ClickHouse/DuckDB export | Admin counters, histograms, access logs, and tracing integrations | Stats/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:
cacophonyruns open-loop Redis workloads and synthetic Redis, Postgres, and
Mongo wire backends.
profile-eve-vcpu-knee-sweep.shruns Redis vCPU knee and max sweeps.profile-postgres-synthetic-vcpu-sweep.shruns Postgres synthetic gateway
ceiling sweeps.
profile-mongo-synthetic-vcpu-sweep.shruns Mongo synthetic gateway ceiling
sweeps.
profile-llm-synthetic-vcpu-sweep.shruns OpenAI-compatible LLM request-rate
sweeps.
ai-workloadruns 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.