Node.js Streams Backpressure: Handling Large Payloads Safely
Learn how Node.js streams backpressure works, why ignoring it causes memory leaks, and how pipeline() and async iteration handle large uploads safely.
14 min read
Archive
300 published
Learn how Node.js streams backpressure works, why ignoring it causes memory leaks, and how pipeline() and async iteration handle large uploads safely.
14 min read
Compare in-process and shared caches in a monolith, covering hit rates under scaling, invalidation, cache stampede fixes, two-tier design and what to measure.
13 min read
Learn how to discover bounded contexts, enforce module boundaries in code, schema and CI, map context relationships, and decide when to extract a service.
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
Compare server-sent events vs websockets for real-time updates: wire protocols, SSE scaling, websocket load balancing, proxies, deploys, and when to pick each.
14 min read
Compare token bucket, sliding window, fixed window and leaky bucket rate limiting: how each works, burst behaviour, memory cost and distributed pitfalls.
17 min read
Learn how Nx inferred tasks work, the plugin → targetDefaults → project.json precedence, how to verify cache inputs, and how to migrate safely.
17 min read
Learn how Nx module federation works as a build and deployment topology: hosts, remote apps, shared dependencies, CI caching, and independent deploys.
13 min read
Move monolith sessions to stateless services in reversible stages: audit session data, externalize to Redis with dual reads, then drop sticky sessions safely.
15 min read
Learn how Kubernetes requests and limits drive scheduling, QoS classes and runtime enforcement, and how to size CPU and memory to avoid throttling and OOMKills.
15 min read
Learn to read per-partition Kafka consumer lag, tell processing limits from skew, rebalances and traffic spikes, and choose the right fix.
15 min read
Why long-lived branches fail large monolith refactors, and how branch by abstraction plus short-lived feature toggles enable safe incremental refactoring.
17 min read