Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Balanced Queue Laravel Package

yangusik/laravel-balanced-queue

Balanced queue scheduling for Laravel that spreads jobs evenly across workers to prevent bottlenecks, improve throughput, and keep processing fair. Drop-in configuration works with existing queue connections and supports priorities.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Queue backend selection for high-throughput asynchronous work: This package targets Laravel applications using Redis-backed queues where job volume is uneven across queues. It supports decisions to adopt a balancing layer rather than manually partitioning queues or over-provisioning workers.
  • Reliability and at-least-once delivery design: The v1.3.3 fixes for expired reservation recovery, maxTries reachability, and afterCommit behavior directly affect whether retries and job lifecycle semantics are trustworthy. PMs can use this release as evidence that the package is actively hardening production failure modes.
  • Build vs. buy for queue orchestration: If the product relies on Laravel queues at scale, this package is a candidate to avoid building custom Redis queue balancing, reservation recovery, and retry accounting in-house. The latest patch reduces the "we must fork or wrap it" surface area.
  • Roadmap sequencing for background processing features: Teams planning features that depend on delayed jobs, transactional dispatch (afterCommit), retries, or worker scaling can treat this release as reducing risk in those areas, while still flagging maturity and operational validation work.
  • Use cases: order processing, notifications, webhook delivery, media processing, and any workload where imbalanced queues cause latency spikes or idle workers. The reservation-recovery fix is particularly relevant to products with long-running jobs and worker crashes.

When to Consider This Package

Consider adoption when:

  • The application already uses Laravel's queue abstraction and Redis, and queue imbalance or hot-queue latency is a measurable problem.
  • The team needs retry and reservation behavior that survives worker crashes or expired job reservations; v1.3.3 explicitly improves recovery of expired reservations.
  • The product dispatches jobs inside database transactions and depends on PendingDispatch::afterCommit working correctly.
  • The team wants to avoid building custom queue balancing and Redis reservation handling, and is comfortable with a third-party Laravel package.
  • The release cadence and targeted bug fixes suggest active maintenance, and the team can pin versions and monitor upstream issues.

Look elsewhere when:

  • The product uses SQS, database queues, or a managed queue service where Laravel's native drivers are sufficient.
  • Queue volume is low or queues are naturally balanced; the added dependency and operational surface may not be justified.
  • The team requires vendor-supported or first-party infrastructure, or cannot accept third-party package risk in critical job paths.
  • There is no capacity to test failure scenarios such as worker crashes, expired reservations, and retry exhaustion before production rollout.

How to Pitch It (Stakeholders)

For executives: This is a targeted patch release for a Laravel Redis queue-balancing package. It fixes four production-relevant issues: transactional dispatch timing, retry limits, job release/delete flag handling, and recovery of expired job reservations. There are no new features or breaking changes. The release strengthens reliability for background job processing, but it also signals that the package is still maturing in edge-case queue semantics. Treat it as a candidate for reducing queue latency and custom infrastructure work, subject to a bounded pilot and operational review.

For engineering: v1.3.3 is a reliability patch. The most important change is reserved-payload recovery for expired reservations, which affects at-least-once delivery under worker failure. The maxTries fix makes retry exhaustion reachable, and the afterCommit fix restores expected transactional dispatch behavior. The release()/delete() fix avoids targeting stock Redis keys. No migration or API changes are indicated. Recommended next step: pin to v1.3.3, add regression tests for retry exhaustion, worker crash recovery, and transactional dispatch, and validate against production queue metrics before broader rollout.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource