Shortener Presets
SaaS Branded Links on 4-8 GB Kutt v3 + Redis 7 Stack
Serve 250,000 daily SaaS click events and 500,000 active links at 2,800 req/s burst on Hostinger KVM 2 ($6.49/mo) with 12-month click partitions.
2.35 GB Peak RAM · 18.4 GB NVMe (12p) · 4.1 ms p95 · $6.49/mo
Why 8 GB KVM 2 Is the SaaS Sweet Spot
At 250,000 daily clicks across 500,000 branded SaaS links, PostgreSQL visit indexes and GeoLite2-City lookup tables push a 2-4 GB VPS close to swap during nightly vacuuming. Stepping up to Hostinger KVM 2 ($6.49/mo intro) doubles RAM to 8 GB and NVMe to 100 GB.
Decoupling 302 Redirects From Analytics Writes
Setting synchronous_commit=off in PostgreSQL 16 and serving slugs exclusively from Redis ensures analytics inserts never stall HTTP 302 responses.
Measured Thresholds & Shortener Stack Parameters
| Parameter / Setting | Recommended Value | Operational Reason |
|---|---|---|
| Redis LRU Allocation | maxmemory 512mb (allkeys-lru) | Pins top 175,000 active slugs (~60 MB) plus rate-limit keys |
| GeoIP2 Resolution | GeoLite2-City.mmdb (~140 MB) | Provides city-level attribution inside single Node cluster |
| Visit Retention | 12 Monthly Partitions + Bot Drop | Cuts 250k/day raw clicks down to ~155k net DB writes/day |
| Host Match | Hostinger KVM 2 (2 vCPU / 8 GB) | Leaves >5 GB RAM free for Linux page cache and vacuum jobs |