Microservices · Featured
Request Hedging Tail Latency: Cutting p99 Without Overload
Learn how hedged requests cut p99 tail latency in microservices: delay tuning, hedge budgets, cancellation, idempotency, routing, and when to avoid it.
13 min read
Engineering notes
Microservices or monolith, Nx and monorepos, backends, DevOps — explained for people who run production systems, with the trade-offs left in.
Microservices · Featured
Learn how hedged requests cut p99 tail latency in microservices: delay tuning, hedge budgets, cancellation, idempotency, routing, and when to avoid it.
13 min read
Service boundaries, communication, data ownership and the operational reality of distributed systems.
When one deployable is the right answer, how to structure it, and how to migrate in either direction.
Workspace tooling, the project graph, affected builds, caching and CI for monorepos.
Runtimes, frameworks and API styles: Node.js, Bun, NestJS, Spring Boot, Python, REST, GraphQL and gRPC.
Docker, Kubernetes, CI/CD, PostgreSQL, Redis, Nginx, monitoring and deployment.
Spend less time and money building and running software — without cutting corners that cost more later.
Learn how hedged requests cut p99 tail latency in microservices: delay tuning, hedge budgets, cancellation, idempotency, routing, and when to avoid it.
13 min read
Run an nx migrate upgrade as a reviewable change: inspect migrations.json, apply in small commits, verify behavior, and handle breaking changes safely.
16 min read
Configure Nx named inputs, implicit dependencies and workspace-root filesets so changes to SQL, protobuf, YAML and template files trigger the right tasks.
13 min read
Learn to diagnose a slow monolith endpoint: scope the problem, use APM traces, pick on-CPU or wall-clock profiling, read flame graphs, and fix N+1 queries.
16 min read
Mark serve targets as continuous in Nx and wire them with task dependencies so nx serve web starts your API too, plus readiness, ports and e2e.
13 min read
Model SQL migrations, .proto schemas and config files with Nx namedInputs and dependency edges so affected detection and caching stop skipping changed projects.
13 min read
Learn how NAT Gateway billing stacks with AWS data transfer costs, how to attribute bytes with flow logs, and when VPC endpoints actually save money.
13 min read
Model what drives your observability bill, find the top contributors, then apply log retention, metric cardinality and trace sampling controls where they matter.
13 min read
Estimate architecture decision cost as a small TCO model with ranges, reversal cost, and opportunity cost, then record and revisit it in your decision records.
12 min read
Decide, structure, then split — or don't.
Project graphs, caching and affected builds.
Containers, pipelines, databases and proxies.
Where engineering money actually goes.