Backward Compatible API Changes for Independently Deployed Services
A checklist for backward compatible API changes: safe vs breaking changes, tolerant readers, expand-and-contract, enums, Protobuf and event rules, and CI checks.
18 min read
Tag
A checklist for backward compatible API changes: safe vs breaking changes, tolerant readers, expand-and-contract, enums, Protobuf and event rules, and CI checks.
18 min read
Compare in-memory and Postgres rate limiters for a monolith: algorithms, atomic SQL, process-count pitfalls, failure modes, and how to choose by topology.
14 min read
How FastAPI dependency injection resolves a per-request graph, manages app-lifetime resources, cleans up with yield, and stays testable with dependency_overrides.
14 min read
Compare tRPC, gRPC and REST for internal TypeScript APIs: how contracts, schema evolution and tooling differ, and how to choose based on who owns each end.
17 min read
How token bucket, leaky bucket and sliding window rate limiting algorithms work, what traffic shapes they permit, and how to implement them safely at scale.
17 min read
Compare URL, header and media type API versioning on caching, routing and tooling, and learn to define breaking changes and retire old versions safely.
14 min read
Design long-running HTTP operations with 202 Accepted, a job status endpoint, idempotent submission, sound polling, optional callbacks and cleanup rules.
16 min read
Why OFFSET cost grows with page depth in PostgreSQL, how keyset pagination keeps it flat, and when each fits your API under real load.
13 min read
Learn when a Node.js file upload API should stream multipart or issue S3 presigned URLs, how to enforce size limits at every layer, and how to verify uploads.
14 min read
Learn how to mint, propagate, and enforce idempotency keys across microservices so retries, redeliveries, and timeouts never cause duplicate side effects.
16 min read
Design webhooks as signed, timestamped, idempotent at-least-once events: HMAC verification, replay windows, retries with backoff, and key rotation.
13 min read
Learn how API gateways and BFFs split edge responsibilities, when to use one or both, and how aggregation, latency, ownership and GraphQL change the design.
13 min read