{
  "id": 3192748,
  "title": "Web Performance on a Budget: Bundle Size, API Limits, and Database Indexes",
  "url": "https://urgent.news/2026/08/25/web-performance-on-a-budget-bundle-size-api-limits-and-database",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-25T05:09:22.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/apeder/web-performance-on-a-budget-bundle-size-api-limits-and-database-indexes-44c6"
  },
  "original_language": "en",
  "account": "Web applications have three budgets: bundle size, API rate limits, and database index selectivity. Bundle size lives in the browser, API rate limits are set by the provider, and database index selectivity is determined by the planner. Exceeding any of these budgets results in slower performance, error messages, or timeouts. These budgets are interconnected through averaging, which can obscure the true impact of a choice. This guide provides formulas, thresholds, and a PR checklist to manage each budget, along with calculators to evaluate and verify the results.",
  "summary": "The three budgets every web app hits: bundle size, API rate limits, and database index selectivity. Learn the formulas, thresholds, and PR checklist. Introduction Every web app has three budgets, and only one of them lives in your code. The bundle budget lives in the browser — 244 kB gzip is where Lighthouse starts penalizing Time to Interactive. The API budget lives at the provider — 5,000…",
  "key_points": [
    "Web applications have three performance budgets: bundle size, API limits, and database indexes.",
    "Exceeding any budget leads to slower performance, errors, or timeouts due to averaging effects."
  ],
  "editors_take": "Managing web application performance requires balancing three interconnected budgets: bundle size, API rate limits, and database index selectivity, to avoid slower performance, errors, or timeouts.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}