Kafka Consumer Lag: Find the Partition Falling Behind
Diagnose Kafka consumer lag by partition. Tell a missing consumer from a rebalance or a slow worker, and verify that the backlog is shrinking.
Blog Author
24 posts by Mohammad najm.
Diagnose Kafka consumer lag by partition. Tell a missing consumer from a rebalance or a slow worker, and verify that the backlog is shrinking.
Find the root PostgreSQL blocker, distinguish it from waiting queries, and investigate an idle transaction before intervening.
Diagnose rising Redis evictions and a falling cache hit rate by comparing maxmemory, eviction policy, and key-prefix growth.
Learn how to read RabbitMQ queue depth, ready and unacked messages, and consumer counts to diagnose a backlog and estimate when it will drain.
Diagnose slow Django requests and 502 or 504 errors by comparing NGINX timings, Gunicorn worker logs, and Linux service health.
Monitor Node.js process health, restarts, CPU and memory on Linux, PM2, systemd, and Docker. Learn when to add event-loop metrics and tracing.
Learn which NGINX metrics to track, how to trace 502s and 504s to an upstream, and how to set up monitoring on Linux, Docker, and Kubernetes.
Pick the right monitoring tool by testing a realistic incident, comparing what each signal can tell you, and pricing a representative month.
A practical right-sizing workflow, from Kubernetes resource requests to savings you can actually verify on your cloud bill.
A practical guide to monitoring the user journey, checking what changed, and making alerts useful when a service fails.
Use NGINX p95 latency, upstream timing, and 499 errors to find where slow requests spend their time before changing timeouts or scaling.