Skip to main content

measure-a-queue-backlog

Measure queue backlog through work count, age, arrival, completion, retry, and capacity signals. Use when asynchronous processing may be delayed or unable to catch up.

소스 정보

저장소
protosphinx/sphinxstack
최근 소스 활동
2026년 7월 29일 13:55
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
measure-a-queue-backlog
category
data
description
Measure queue backlog through work count, age, arrival, completion, retry, and capacity signals. Use when asynchronous processing may be delayed or unable to catch up.
# measure-a-queue-backlog Age and drain capacity usually reveal more than a single approximate message count. ## Procedure 1. Define the queue, work types, delivery behavior, priority, and user-facing deadline. 2. Capture ready, delayed, in-flight, retried, and dead-letter counts. 3. Measure oldest and percentile age from original enqueue time. 4. Calculate arrival, successful completion, failure, retry, and net growth rates. 5. Segment by safe work class, tenant tier, priority, and consumer pool where useful. 6. Compare backlog with concurrency, processing time, dependency health, and capacity limits. 7. Estimate drain time under current and credible restored throughput. 8. Save a backlog report with uncertainty, impact, and the next capacity action. ## Guardrails - Broker counts may be approximate and should not be treated as exact inventory. - Retries can inflate throughput while no business work completes. - Do not expose sensitive payload attributes as metric labels. ## Done - A backlog report records count, age, rates, and estimated drain time - Broker values are verified against consumer and business outcomes - Retry and dead-letter work are reconciled separately
GitHub에서 보기