Performance PoC — Astro SSR + Caddy Gateway

TenantEngine Enterprise Multi-Tenant CMS Infrastructure

Ship tenant-isolated content at the edge. Static pages served directly from disk; dynamic routes proxied to Node SSR with measurable TTFB and throughput.

Static TTFB
<5ms
SSR + mock DB
~15ms
Compression
gzip + zstd
Tenants

Platform

Built for throughput, designed for tenants

Split static and dynamic traffic at the gateway. Measure what matters — TTFB, RPS, and p99 latency.

Static-first delivery

Pre-rendered landing pages served directly from Caddy file_server — zero Node overhead for marketing content.

🔄

SSR on demand

Dynamic tenant routes reverse-proxied to Astro Node adapter with isolated per-request rendering.

🏢

Multi-tenant isolation

Namespace-per-tenant content APIs with row-level security and dedicated cache keys.

📦

Edge compression

Caddy negotiates gzip and zstd at the gateway — smaller payloads, faster TTFB worldwide.

📊

Observable latency

Built-in benchmark routes expose server timestamps and mock DB latency for load testing.

🐳

Docker-ready

Multi-stage builds, compose orchestration, and autocannon scripts for reproducible benchmarks.

Pricing

Scale with your tenant count

Starter

For teams validating CMS-as-a-Service architecture.

$49 /mo

  • 5 tenants
  • 100K requests/mo
  • Shared edge cache
  • Community support
Most popular

Growth

Production workloads with SLA-backed TTFB targets.

$199 /mo

  • 50 tenants
  • 2M requests/mo
  • Dedicated cache pool
  • Priority support
  • Custom domains

Enterprise

Multi-region, compliance-ready infrastructure.

Custom

  • Unlimited tenants
  • Dedicated cluster
  • SOC 2 / HIPAA
  • 24/7 SRE
  • VPC peering

Performance specs

PoC benchmark targets

Run ./benchmark.sh against http://localhost:8080 after docker compose up.

Route Target Architecture
Static route (/) < 5ms TTFB Caddy file_server → dist/client
SSR route (/demo-ssr) < 20ms TTFB Caddy reverse_proxy → Astro Node
Mock DB latency 10ms injected setTimeout in SSR handler
Load test tool autocannon ./benchmark.sh static + dynamic