Nx Affected in GitHub Actions: Getting Base and Head SHAs Right
Learn how nx affected picks what to run, why GitHub Actions defaults give wrong SHAs, and how to set correct bases for pushes and PRs with nx-set-shas.
15 min read
Archive
295 published
Learn how nx affected picks what to run, why GitHub Actions defaults give wrong SHAs, and how to set correct bases for pushes and PRs with nx-set-shas.
15 min read
Solve the dual write problem in PostgreSQL with the transactional outbox pattern: table design, polling and CDC relays, idempotent consumers and ordering.
15 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
How Spring Boot virtual threads work, which workloads gain from them, where bottlenecks move, and how to limit concurrency, detect pinning and roll out safely.
13 min read
Learn how service discovery and load balancing fit together in microservices: DNS, Kubernetes Services, client-side balancing, proxies, and rollout pitfalls.
13 min read
Use Nx generatePackageJson to emit a per-app package.json and pruned lockfile, then build a lean multi-stage Docker image for an Nx Node app.
14 min read
Learn how Nx conformance rules, tags, and module boundaries govern large monorepos, and how to roll out enforcement in stages without blocking every team.
13 min read
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