Numbers.
Not promises.
Development benchmark results for tenant-aware PostgreSQL queries with row-level security enabled. Measured on November 28, 2026.
req/s at 100 VU · keyset
p99 at 100 VU · keyset
Peak app RSS · 10M keyset
Throughput and tail latency
Each cell is requests per second / p99 latency. All listed data scenarios reported zero errors.
| Rows | Scenario | 10 VU | 100 VU | 1,000 VU | Peak RSS |
|---|---|---|---|---|---|
| 100,000 | Latest 50 | 1,747 / 14 ms | 1,402 / 104 ms | 1,364 / 838 ms | 160 MB |
| 100,000 | Filtered | 1,659 / 12 ms | 1,308 / 106 ms | 1,226 / 2.4 s | 160 MB |
| 1,000,000 | Latest 50 | 1,877 / 13 ms | 1,550 / 90 ms | 1,423 / 1.4 s | 160 MB |
| 1,000,000 | Keyset page | 1,898 / 10 ms | 2,124 / 71 ms | 1,612 / 1.1 s | 161 MB |
| 10,000,000 | Latest 50 | 2,200 / 13 ms | 1,791 / 75 ms | 1,500 / 746 ms | 162 MB |
| 10,000,000 | Filtered | 822 / 22 ms | 878 / 153 ms | 727 / 2.9 s | 162 MB |
| 10,000,000 | Keyset page | 1,891 / 11 ms | 2,189 / 72 ms | 1,869 / 1.6 s | 164 MB |
VU = virtual users (concurrent benchmark connections). These are project-reported development measurements, not independently verified benchmarks.
Reproducible conditions.
4 shared Intel Xeon vCPUs at 2.10 GHz, 16 GB RAM, Linux x64, Node 22.23, PostgreSQL 16, DB_POOL_MAX=20. The app, database and load generator shared the same host. Each request authenticated using a round-robin tenant API key; RLS remained active.
Idle app RSS was 93–105 MB, while cgroup memory was around 40 MiB. These are different measurement methods. Neither includes the complete deployment footprint.
# With benchmark environment configured
pnpm bench:seed -- --rows 1000000 --tenants 200
pnpm bench:load -- --connections 10,100,1000 \
--duration 20 --label "1M rows"Read the fine print.
CPU saturation
At 1,000 connections one Node process was CPU-bound. Tail latency rose due to queuing. API replicas are an available architectural option, but their performance is not measured here.
Indexing matters
The filtered workload was database-bound without a matching range-filter index. Health-only tests at 1,000 connections also encountered load-generator socket errors.
Not a cross-product comparison
ARM64 measurements, complete stack memory, and controlled head-to-head Supabase comparisons are still pending.
Make room for
your next big idea.
Testing a small VPS, migrating an existing application, or building a multi-tenant SaaS? Help shape LorzoBase before its public release.
No signup form, no tracking cookies. Get in touch directly by email.