Support the ongoing development of Laravel.io →
posted 11 years ago
Queues

We have been using beanstalkd with Laravel queues. We noticed significant performance issues on web requests on our webservers running these queues, even though little is actually being pushed through the queue itself. We noticed that the architecture of the laravel queue listener and work process is such that the listener persistently triggers workers even though there's no nothing on the queue. Is this intentional? Is there a downside to checking for items on the queue before launching the work process?

Also, it appears that the queue work process is somehow blocking the execution of web requests for brief periods of time. Are there shared resources for which queue work and web requests are competing for access?

Last updated 2 years ago.
0

Queue will sleep if there is no job in the the queue bag . you may also use Iron.mo with queue subscriber that relies on web request for triggering queue. in this approach there is no always running daemon

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

avi123 avi123 Joined 28 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.