Require that every endpoint returning a collection paginates its results using a single, consistent strategy, so I want a documented approach, whether cursor or offset, with clear page-size limits and predictable navigation links or tokens. I am firm on this because an unbounded list is a loaded gun pointed at both your database and your consumers, and the day a collection grows large is the day an un-paginated endpoint takes something down. Consistency matters just as much as the mechanism itself, since developers should not have to relearn how to page through data on every resource. Cap the maximum page size, default it sensibly, and enforce the pattern at the gateway so it holds everywhere.
Pagination (Operations)
Strategies
APIs Follow Consistent Design Patterns
All APIs must follow consistent design patterns for naming conventions, media types, pagination, filtering, sorting, and error handling, ensuring that consumers can learn patterns once and apply th...
APIs Scale Efficiently Under Load
All APIs must be designed to scale efficiently as consumer traffic and data volumes grow, employing caching, pagination, filtering, and batch operations to ensure consistent performance and avoid d...
Experiences
Consistency
Achieving consistency in the design, delivery, and maintenance of HTTP APIs across an enterprise is a significant challenge—one that often complicates API operations. Small differences, such as var...
Performance
Performance is the experience of how fast and consistently an API responds under real-world conditions. Latency, throughput, and predictability directly shape how consumers perceive an API and whet...
Scalability
Scalability is the experience of an API continuing to work well as demand grows from dozens of consumers to millions of requests. It touches infrastructure, rate limiting, caching, and design decis...
Lifecycle
design_services Design Design
Design is where the human experience of an API is won or lost. I work design-first, shaping the paths, schema, errors, and naming in the contract before development begins, so that consistency is b...
tune Management Production
Management is the day-to-day operation of an API in production. Plans, rate limits, keys, and access all get administered here, usually through a gateway. Solid management is what lets me offer an ...