Search
Lessons (10)
- N+1 Queries, Loading & Pagination
Prevent hidden query explosions, load relations intentionally, and paginate large changing lists without scanning the past. The hidden …
- REST API Design
… resource naming, methods, status codes, pagination, versioning, errors and idempotency. The big idea A good API is like …
- Indexes, EXPLAIN & Query Plans
… Fewer columns, fewer rows, cursor pagination. 8. Rule out pool waits and lock waits. 9. Change one thing …
- State Management (Redux, Zustand, TanStack Query)
… often forgotten Filters, search terms, pagination and tabs belong in the URL : they survive a refresh, can be …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… A stock decrement alone is not idempotent if a caller retries after losing the response. Pagination and index …
- Backend Design Scenarios
… Cache the first page, expire or trim old entries, and use a stable snapshot/cursor so pagination does …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… Map , Set , for await (const chunk of stream) , paginated API helpers. --- 4. Mediator ✈️ Analogy: Planes don't talk …
- Python Web APIs: FastAPI and Django
… shared logic (DB sessions, current user, pagination) declared as parameters. python from typing import Annotated from fastapi import …
- API Contracts, Gateways and Security
… for 24 hours Error format always { "code": ..., "message": ... } Pagination for lists, use a cursor (a bookmark that says …
- L6 Production Debugging Casebook
… from the start. The fix: use keyset (cursor) pagination . Remember where the last page ended, and ask for …