prompt
RabbitMQ Backlog Diagnosis and Retry Strategy Review
Turn RabbitMQ queue growth into an evidence-based containment and retry plan without creating a retry storm.
Engineering guide
Evidence-first incident triage, log analysis, database checks, and reversible containment steps.
Act as a senior Java production incident responder. Using the incident context below, return: (1) a precise impact statement, (2) a timestamped evidence timeline, (3) the top three ranked hypotheses with supporting and contradictory evidence, (4) the next check and owner for each hypothesis, (5) one reversible containment action with its expected signal and rollback condition, and (6) a concise handoff update. Keep confirmed facts separate from assumptions. Incident context: [Paste alerts, logs, JVM metrics, database waits, queue depth, recent deployments, and user impact here]
Record the first alert, affected endpoints, error rate, latency, recent releases, and customer impact before restarting anything. Preserve this timeline so you can separate a code regression from database, queue, or infrastructure pressure.
Give every hypothesis one supporting signal, one contradictory signal, and one cheapest next check. This turns incident response into a controlled investigation instead of a sequence of unrelated commands.
Compare allocation rate, garbage-collection pauses, thread-pool saturation, blocked threads, CPU, throughput, and request latency on one timeline. A heap that falls after collection differs from a retained-object leak. Capture a thread dump before restarting when blocked or runnable thread counts are abnormal.
For database pressure, compare pool wait time, active sessions, locks, execution plans, and rows scanned. For queues, inspect publish and consume rates, backlog age, redeliveries, and dead letters. Trace one affected request across the application, database, and broker.
Build a ledger of releases, configuration edits, feature flags, migrations, traffic shifts, and dependency incidents. Correlation is not proof, so compare affected and unaffected instances. A canary on the previous version provides a useful control group.
Prefer a reversible action such as pausing a consumer, reducing concurrency, or rolling back one release. Define the expected metric response and the condition that cancels the action before executing it.
Preserve the evidence, mitigation, and metric response. Turn the highest-value learning into an owned alert, load or failure test, deployment control, or dependency fix. Explain why detection or containment was slow rather than merely repeating the timeline.
This guide turns production engineering practice into a repeatable decision process. Examples are checked for explicit inputs, observable outcomes, failure handling, and reversible actions. Validate the steps against your own traffic, data model, permissions, and recovery objectives.
Read our editorial and review standardsReusable resources
prompt
Turn RabbitMQ queue growth into an evidence-based containment and retry plan without creating a retry storm.
workflow
Review an Oracle SQL statement with execution-plan evidence and produce a reversible optimization plan.
prompt
Convert a Spring Boot exception sample into a precise investigation plan instead of a generic explanation.
workflow
Turn an alert into an evidence-based incident update, containment plan, and root-cause hypothesis.