Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 52 additions & 52 deletions documentation/en/src/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Benchmarks

## Automated Benchmark Results

Last updated: 2026-03-03 07:57 UTC
Last updated: 2026-03-03 14:30 UTC

These benchmarks are automatically generated by the CI pipeline using `pgbench`.

Expand All @@ -17,9 +17,9 @@ These benchmarks are automatically generated by the CI pipeline using `pgbench`.
- **Instance**: AWS Fargate (16 vCPU, 32 GB RAM)
- **Workers**: pg_doorman: 12, odyssey: 12
- **pgbench jobs**: 4 (global override)
- **Started**: 2026-03-03 06:33:46 UTC
- **Finished**: 2026-03-03 07:57:03 UTC
- **Total duration**: 1h 23m 16s
- **Started**: 2026-03-03 13:07:31 UTC
- **Finished**: 2026-03-03 14:30:46 UTC
- **Total duration**: 1h 23m 14s

### Legend

Expand All @@ -36,70 +36,70 @@ These benchmarks are automatically generated by the CI pipeline using `pgbench`.

| Test | vs pgbouncer | vs odyssey |
|------|--------------|------------|
| 1 client | -5% | -8% |
| 40 clients | +42% | -39% |
| 120 clients | x3.0 | -6% |
| 500 clients | x2.8 | +3% |
| 10,000 clients | x2.8 | +19% |
| 1 client + Reconnect | ≈0% | x16.4 |
| 40 clients + Reconnect | +21% | x2.4 |
| 120 clients + Reconnect | +22% | +99% |
| 500 clients + Reconnect | +21% | x2.1 |
| 10,000 clients + Reconnect | +69% | x2.1 |
| 1 client + SSL | ≈0% | -6% |
| 40 clients + SSL | +75% | -28% |
| 120 clients + SSL | x3.4 | ≈0% |
| 500 clients + SSL | x3.4 | +4% |
| 10,000 clients + SSL | x3.4 | +18% |
| 1 client | -8% | -13% |
| 40 clients | +34% | -41% |
| 120 clients | x2.8 | -9% |
| 500 clients | x2.6 | ≈0% |
| 10,000 clients | x2.7 | +16% |
| 1 client + Reconnect | ≈0% | x49.3 |
| 40 clients + Reconnect | +21% | x3.4 |
| 120 clients + Reconnect | +23% | x2.4 |
| 500 clients + Reconnect | +23% | x2.3 |
| 10,000 clients + Reconnect | +66% | +98% |
| 1 client + SSL | -6% | -10% |
| 40 clients + SSL | +63% | -30% |
| 120 clients + SSL | x2.8 | -15% |
| 500 clients + SSL | x3.1 | ≈0% |
| 10,000 clients + SSL | x3.3 | +17% |

---

## Extended Protocol

| Test | vs pgbouncer | vs odyssey |
|------|--------------|------------|
| 1 client | +6% | +44% |
| 40 clients | +54% | -8% |
| 120 clients | x3.1 | +46% |
| 500 clients | x2.9 | +58% |
| 10,000 clients | x2.9 | +80% |
| 1 client + Reconnect | ≈0% | x5.9 |
| 40 clients + Reconnect | +21% | x2.6 |
| 120 clients + Reconnect | +23% | +97% |
| 500 clients + Reconnect | +21% | x2.3 |
| 10,000 clients + Reconnect | +73% | x2.3 |
| 1 client + SSL | +5% | +42% |
| 40 clients + SSL | +77% | ≈0% |
| 120 clients + SSL | x3.5 | +47% |
| 500 clients + SSL | x3.5 | +59% |
| 10,000 clients + SSL | x3.6 | +82% |
| 1 client + SSL + Reconnect | +4% | +10% |
| 40 clients + SSL + Reconnect | +93% | ≈0% |
| 120 clients + SSL + Reconnect | +96% | ≈0% |
| 500 clients + SSL + Reconnect | +93% | ≈0% |
| 10,000 clients + SSL + Reconnect | +96% | ≈0% |
| 1 client | ≈0% | +36% |
| 40 clients | +43% | -13% |
| 120 clients | x2.9 | +39% |
| 500 clients | x2.8 | +51% |
| 10,000 clients | x2.8 | +71% |
| 1 client + Reconnect | ≈0% | x7.1 |
| 40 clients + Reconnect | +23% | x2.4 |
| 120 clients + Reconnect | +22% | x2.2 |
| 500 clients + Reconnect | +22% | x2.0 |
| 10,000 clients + Reconnect | +67% | x2.2 |
| 1 client + SSL | +4% | +37% |
| 40 clients + SSL | +66% | ≈0% |
| 120 clients + SSL | x3.3 | +43% |
| 500 clients + SSL | x3.3 | +53% |
| 10,000 clients + SSL | x3.3 | +80% |
| 1 client + SSL + Reconnect | +8% | +13% |
| 40 clients + SSL + Reconnect | +100% | ≈0% |
| 120 clients + SSL + Reconnect | x2.1 | ≈0% |
| 500 clients + SSL + Reconnect | x2.0 | +5% |
| 10,000 clients + SSL + Reconnect | +90% | ≈0% |

---

## Prepared Protocol

| Test | vs pgbouncer | vs odyssey |
|------|--------------|------------|
| 1 client | -5% | -11% |
| 40 clients | +83% | -40% |
| 120 clients | x3.8 | -9% |
| 500 clients | x3.6 | +3% |
| 10,000 clients | x3.5 | +22% |
| 1 client | -8% | -15% |
| 40 clients | +69% | -43% |
| 120 clients | x3.5 | -13% |
| 500 clients | x3.4 | ≈0% |
| 10,000 clients | x3.2 | +18% |
| 1 client + Reconnect | ≈0% | ∞ |
| 40 clients + Reconnect | ≈0% | ∞ |
| 120 clients + Reconnect | +5% | ∞ |
| 500 clients + Reconnect | +8% | ∞ |
| 10,000 clients + Reconnect | +28% | ∞ |
| 1 client + SSL | -6% | -8% |
| 40 clients + SSL | x2.0 | -33% |
| 120 clients + SSL | x4.0 | -6% |
| 500 clients + SSL | x4.1 | +4% |
| 10,000 clients + SSL | x4.1 | +20% |
| 120 clients + Reconnect | ≈0% | ∞ |
| 500 clients + Reconnect | +5% | ∞ |
| 10,000 clients + Reconnect | +27% | ∞ |
| 1 client + SSL | -5% | -11% |
| 40 clients + SSL | +87% | -35% |
| 120 clients + SSL | x3.6 | -9% |
| 500 clients + SSL | x3.7 | ≈0% |
| 10,000 clients + SSL | x3.8 | +18% |

---

Expand Down