← All tags

#architecture

3 entries tagged #architecture

  • What Breaks From 1k to 1M Requests Per Second

    Post · Sep 17, 2026

    The same endpoint, run through four traffic tiers. At 1k req/s almost any design survives. At 10k the database and the single instance give first. At 100k the cache and the load balancer become the systems under test. At 1M the architecture itself has to change, because the failure mode is no longer capacity, it's correlated behavior across clients you don't control.

  • Migrating Schema-Per-Tenant Databases at Scale

    Post · Sep 12, 2026

    Choosing physical tenant isolation over a shared, RLS-scoped schema buys two new problems: knowing where a tenant's data actually lives, and running one migration correctly hundreds of times instead of once. Neither has an app-code fix, both need their own infrastructure.

  • Designing Multi-Tenant APIs That Scale

    Post · Sep 12, 2026

    A missing tenant filter is a data leak, not a crash. Row-level security fixes that structurally, but rate limits, connection pools, and error codes built for one instance break the same quiet way once the API runs as several.