How far can a $6 droplet go?
The same social-feed API in different stacks on a DigitalOcean $6 droplet (1 vCPU, 1 GB RAM) with Postgres on the same box, load-tested with k6 from a second droplet in the same VPC (protocol v2). Capacity = highest VU level whose steady phase passes p50 < 500 ms, p95 < 800 ms, p99 < 1000 ms and < 1 % errors. Each tag changes one thing from its parent. Highlighted: best capacity so far. Source, methodology and raw data.
| Configuration (report) | Stack | Capacity VUs | req/s | First fail | Change | Date | |
|---|---|---|---|---|---|---|---|
| node-express-v01-baseline | node-express | 100 | 46.7 | 110 | baseline: no pool, new connection per request, Server-Timing header | 2026-10-10 | analysis |
| node-express-v02-pool | node-express | 1,350 | 619.1 | 1,400 | pg.Pool with default settings (max 10) instead of a new connection per request | 2026-10-10 | analysis |
| node-express-v03-pool-20 | node-express | 1,200 | 574.0 | 1,300 | pg.Pool max 10 -> 20 | 2026-10-10 | analysis |
| node-express-v04-cte-writes | node-express | 1,400 | 660.5 | 1,500 | single-statement writes (CTE) instead of BEGIN/queries/COMMIT; parent v02 (pool 10) | 2026-10-10 | analysis |
| node-express-v05-prepared | node-express | 1,400 | 645.1 | 1,500 | prepared statements (pg named queries); parent v04 | 2026-10-10 | analysis |
| node-express-v06-feed-cache-1s | node-express | 3,000 | 1,541.0 | 3,200 | in-process cache of GET /posts (all pages, key limit+before, TTL 1 s, single-flight); parent v05 | 2026-10-11 | analysis |
| node-http-v01-express-v06-port | node-http | 3,200 | 1,677.6 | 3,500 | port of node-express v06 to plain node:http (no Express, no ETag); same pool, prepared statements, CTE writes, 1 s feed cache | 2026-10-11 | analysis |
| node-http-v02-bun | node-http | 4,200 | 2,077.8 | 4,500 | runtime Node 24 -> Bun 1.4.2 (same node:http + pg code); parent node-http v01 | 2026-10-11 | analysis |
| node-http-v03-bun-sql | node-http | < 4,500 | – | 4,500 | Postgres client pg 8.23.1 -> Bun.sql (native); parent node-http v02 | 2026-10-11 | analysis |
| node-http-v04-bun-serve | node-http | 4,500 | 2,324.2 | 4,700 | HTTP server node:http -> Bun.serve; parent node-http v03 (Bun.sql) | 2026-10-11 | analysis |
| python-fastapi-v01-baseline | python-fastapi | 60 | 29.9 | 70 | new stack: FastAPI baseline, no pool, no feed cache (like node-express v01) | 2026-10-12 | analysis |
| python-fastapi-v02-pool | python-fastapi | 600 | 306.9 | 650 | asyncpg pool (max 10) instead of a new connection per request; parent v01 | 2026-10-12 | analysis |