Problem/Motivation

In this Drupal application, background queues (such as core queues or Queue API based workers) may accumulate a large backlog of unprocessed items, which can indicate stuck workers, misconfiguration, or insufficient processing capacity, and can delay critical background tasks.

Steps to reproduce

Add a new Performance FitCheck plugin QueueBacklogCheck that:

  • Inspects all defined queues and reads their current item counts (and optionally item age, if available).
  • Fails with FitWeight::Medium when any queue exceeds a configurable backlog threshold, listing the affected queues and their sizes so administrators can investigate stuck workers or increase processing.
  • Provides a short help message recommending verifying cron/queue workers, tuning queue processing, or scaling worker capacity for heavily used queues.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#5 3558986-5.patch12.43 KBshubham.prakash

Issue fork drupalfit-3558986

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

harivansh created an issue. See original summary.

harivansh’s picture

Issue summary: View changes

anmolgoyal74 made their first commit to this issue’s fork.

shubham.prakash’s picture

Status: Active » Needs review
StatusFileSize
new12.43 KB

harivansh’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

harivansh’s picture

Status: Fixed » Closed (fixed)