Stackrig

Home Blog

Experiments

Every experiment, newest first (4).

2026

  1. measured

    Self-hosted LLM or API: when does a rented GPU pay off?

    gpt-oss-20b on one rented L4, measured: what a million output tokens cost at 1 to 64 requests at once, and how busy the GPU must be to beat five per-token APIs.

  2. measured

    How many users can a $12 server handle? We measured it

    A $12-a-month VM with Nginx, Node.js and Postgres under virtual users: about 800 users at one second of think time, and a CPU throttle the guest does not show.

  3. measured

    How many requests per second can one Postgres handle?

    One PostgreSQL on a 2-vCPU VM, measured: about 6,000 simple indexed reads per second at 100 % CPU, where p99 starts to climb, and how to estimate your own number.

  4. measured

    How big should your database connection pool be?

    A pool of 4 against a pool of 16 connections on the same Postgres, measured, and Little's law for sizing your own.