Designing Load Shedding and Backpressure for APIs
Learn how to protect APIs during overload with admission control, bounded queues, backpressure signals, and clear degradation rules.
Software engineering field notes
Devspedia covers web platforms, cloud systems, AI tools, performance, and security for engineers building and operating software.
Latest
9 stories on this page
Learn how to protect APIs during overload with admission control, bounded queues, backpressure signals, and clear degradation rules.
Learn how to retry transient failures without amplifying outages by combining timeouts, backoff, jitter, budgets, and observability.
Learn how to drain HTTP requests, stop background work, close dependencies, and make Node.js deployments terminate safely.
Learn how to prevent lost updates with version columns, ETags, compare-and-swap writes, and useful conflict responses.
Learn how to design token-bucket API rate limits that protect services without punishing normal users.
Learn how to ship database schema changes safely with expand-contract migrations, batched backfills, compatible application deploys, and clear rollback points.
Learn how the transactional outbox pattern keeps database writes and event publication consistent without distributed transactions.
Learn how to design dead-letter queues with useful metadata, triage workflows, safe replay tools, and clear ownership so failed events can be recovered instead of ignored.
Learn how to design cursor pagination APIs that remain stable when records are inserted, deleted, or queried at scale.