Questions tagged [beanstalkd]

Beanstalkd is a simple, fast work queue.

Beanstalkd is a simple, fast work queue.

Its interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

401 questions
2
votes
1 answer

Laravel queue - running as a daemon

I am trying to setup Laravel beanstalkd queue as mentioned here. I need to run the queue handler as a daemon. Trying to run the command: php artisan queue:work --daemon. But looks like 'deamon' command is not defined for queue:work >php artisan…
Krishna Shetty
  • 1,361
  • 4
  • 18
  • 39
2
votes
1 answer

Beanstalkd failover for queues in Laravel

Does anyone know about a robust failover mechanism for Laravel queues? At one point my beanstalkd server had some kind of error (still figuring out what went wrong) triggering Pheanstalk_Exception_ConnectionException in the Laravel (4) queue driver.…
Joram van den Boezem
  • 1,104
  • 10
  • 24
2
votes
1 answer

Laravel + Beanstalkd - job is processed but not fired?

I`m using Beanstalkd to manage queues in my Laravel project. My job is like this: class MyJob { public function fire($job, $data) { Log::info("Something"); ..... ..... ..... $job->delete(); } } I`ve set beanstalktd to…
Alexander Nikolov
  • 1,871
  • 7
  • 27
  • 49
2
votes
1 answer

Beanstalkd: How to auto-bury a job that hits TTR?

In Beanstalkd, when a job hits TTR it will kill the worker handling the job and release the job back into the pool. In our system, this should be a super-rare event, and in that case I would like to just bury the job instead. How would one go about…
DOOManiac
  • 6,066
  • 8
  • 44
  • 67
2
votes
1 answer

Beanstalkd "delayed job" doesn't execute

I'm having some issues getting a job to run in my Laravel 4 setup. I have it working on Homestead, however it doesn't work on production. I'm using Beanstalkd (with pheanstalk), and Supervisor, following this tutorial. In a nutshell, I want to…
Alias
  • 2,983
  • 7
  • 39
  • 62
2
votes
1 answer

What happens when --memory limit reached during php artisan queue:listen with Beanstalkd

I am creating a Laravel 4.2 app with MySQL database on NGINX. I am trying to research options to reduce CPU usage at any given time using queues. I would like any queued task to stay under a certain level of memory usage; but what I do not…
Douglas.Sesar
  • 4,214
  • 3
  • 29
  • 36
2
votes
2 answers

beanstalkd allowing one job to be reserved twice

I have a beanstalkd instance with two workers picking jobs from one tube. I've noticed that occasionally one of the workers will reserve a job that has already been reserved (and being worked on) by the other worker. I know there aren't duplicate…
user489176
  • 113
  • 9
2
votes
1 answer

Is there a good way to integrate beanstalkd with hadoop?

I am using beanstalkd to collect log data from multiple front-end servers (php application), and insert the data into mysql. As long as the data grown, I need to choose Hadoop to analysis data for BI purpose using Hive. What's the best practice to…
scottliyq
  • 107
  • 12
2
votes
1 answer

How does Beanstalkd manage memory?

We've just begun using beanstalkd in production, and are impressed with it's performance. I've noticed that it does something peculiar with it's memory management. For instance, I create 100k jobs in PHP with 1111.013122,1212.121311 as data in each…
kouton
  • 1,941
  • 2
  • 19
  • 34
2
votes
1 answer

subprocess in views.py does not work

I need a function that starts several beanstalk workers before starting to record some videos with different cameras. All of these work in beanstalk. As I need to start the workers before the video record, I want to do a subprocess, but this does…
DavidRguez
  • 1,070
  • 3
  • 12
  • 27
2
votes
1 answer

Unable to bury job beanstalkd

I'm using Beanstalkd via NodeJS (fivebeans client). I cannot bury jobs, not even using telnet! The answer to client.bury(jobID,priority) is always "NOT_FOUND". This is the case even when there is only 1 job in the system (inserted with Node) and I'm…
user2297996
  • 1,382
  • 3
  • 18
  • 28
2
votes
2 answers

Beanstalk + Pheanstalk Delay Existing Job

I'm intermediate in Beanstalk + Pheanstalk. I'm developing my core part (background process) using Beanstalk. It's excellent tool that's no doubt but I'm stuck in one situation. I'm using beanstalk using Yii framework. Let's say, I have two jobs A…
Sanjay Mohnani
  • 990
  • 7
  • 18
2
votes
2 answers

Queue work on "sync" driver, but not on Beanstalkd

I have a quite simple job that runs on Laravel 4 FW. When the queue driver is set as "sync", it works fine. But, when I set it to 'beanstalkd', it simply DOESN'T RUN! I already ran the artisan command php artisan queue:listen and php artisan…
Dennis Braga
  • 1,448
  • 3
  • 20
  • 40
2
votes
0 answers

Using beanstalkd vs ActiveMQ for queuing on PHP Ubuntu

I have a PHP system where users interact with others; when user do some action, then this action will forward to all users following this user as member feed. I currently use beanstalkd queue system, so I send massage to beanstalkd and beanstalkd…
Osama Jetawe
  • 2,697
  • 6
  • 24
  • 40
2
votes
2 answers

Beanstalkd / Pheanstalk - Cant get it working at all! (WAMP/PHP/LARAVEL)

So im trying to get Pheanstalk queue working in Laravel 4, which is built in (i had to composer instal the beanstalkd lib). Now thats done... im trying to send jobs to my workers. Everytime i do i get this error [2013-04-25 08:55:03] log.ERROR:…
adam Kearsley
  • 951
  • 2
  • 13
  • 23