HPA on Queue Depth, Not CPU
For queue-driven workers, CPU-based autoscaling reacts too late. Scale your Kubernetes HPA on queue depth or lag instead. Why CPU lies, and how to switch.
All writing
45 articles and counting.
For queue-driven workers, CPU-based autoscaling reacts too late. Scale your Kubernetes HPA on queue depth or lag instead. Why CPU lies, and how to switch.
A production Kubernetes deployment checklist: resource limits, probes, rollout strategy, PodDisruptionBudgets, graceful shutdown, and the items teams skip.
Slow Kubernetes pod startup hurts autoscaling, deploys, and recovery. The five things that make pods slow to start and how to fix each, in priority order.
In microservices, the hard part of incident response is locating the fault across services. The triage order, the tools, and how to stop cascades fast.
Modular monolith vs microservices: start with a modular monolith and extract services only when a real force demands it. The decision framework and the signals.
Platform service design means building internal services as products for your own engineers. The golden-path model, the self-service rule, and what to avoid.
Shared libraries in microservices promise reuse but quietly recouple services through a versioned dependency. When they help, when they hurt, and the rules.
Service dependency cycles make microservices impossible to deploy, test, or reason about in isolation. How to detect them and four ways to break them.
A blameless incident postmortem fixes the system, not the person. The structure, the root-cause discipline, and the action items that actually get done.
An RFC that survives design review states the problem, the options, and a justified decision, not just a chosen design. The structure and the failure modes.
System design interviews for senior engineers reward judgment, not memorized diagrams. The framework, the tradeoff signals interviewers grade, and the traps.
Designing leaderboards at scale: why a sorted database query dies under load, how a Redis sorted set fixes it, and how to shard ranking past one node.