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
1
vote
1 answer

beanstalkd get statsTube error yal_parser

I need to get statistics of a tube . This is my code : $queue = new Phalcon\Queue\Beanstalk(array('host'=>'host','port'=>'port')); $queue->choose('testTube'); //Insert the job in the queue $queue->put(array('test' =>…
wxcvbn
  • 483
  • 2
  • 7
  • 20
1
vote
2 answers

Have a queue job always running

I have a queue job that I need to have constantly running. That means that when the job is finished processing, it should start the job all over again. How can I do this? Here's my job:
1
vote
0 answers

Beanstalkd Listen Address Issue on AWS EC2

I installed beanstalkd on AWS EC2 and it was working perfectly fine on local server. But now, i need to change the listen address to my public IP of EC2 instance so that i can push jobs from remote server BEANSTALKD_LISTEN_ADDR=127.0.0.1 But when…
Awn Ali
  • 1,361
  • 1
  • 17
  • 31
1
vote
1 answer

Beanstalkd / Pheanstalk security issue

I have just started using beanstalkd and pheanstalk and I am curious whether the following situation is a security issue (and if not, why not?): When designing a queue that will contain jobs for an eventual worker script to pick up and preform SQL…
Webeng
  • 7,050
  • 4
  • 31
  • 59
1
vote
1 answer

Pheanstalk reserve function

I have just started using pheanstalk and am having an issue with the reserve function. I have the following code for a worker script:
Webeng
  • 7,050
  • 4
  • 31
  • 59
1
vote
1 answer

pheanstalk and beanstalk functions

The following code is a snipet taken from an example of pheanstalk being implemented and working properly (obtained from pheanstalk's github page: https://github.com/pda/pheanstalk):
Webeng
  • 7,050
  • 4
  • 31
  • 59
1
vote
1 answer

Laravel: sequential queue with beanstalkd

The project: Users / Customers can upload a PDF - for reasons. This can happen simultanously. The goal: A large PDF (with many pages) must be converted. While converting the pages every individual step (4 different steps for every page) must get…
Gordon Freeman
  • 3,260
  • 1
  • 22
  • 42
1
vote
1 answer

Unable to get Beanstalkd Queue to work for PHP

I have Ubuntu running XAMPP (the lamp stack: Linux, Apache, MySQL, PHP, Pear). I would like to use PHP and Beanstalkd together to make a simple queue that when a user goes on page1.php, a JOB is sent to the QUEUE for a WORKER to capture. The JOB…
Webeng
  • 7,050
  • 4
  • 31
  • 59
1
vote
2 answers

Installing beanstalkd on a shared hosting account at Godaddy

I am trying to install beanstalkd (http://kr.github.io/beanstalkd/download.html) via the Linux Terminal on a shared hosting account at Godaddy. The previous link gives commands that should install beanstalkd on the server. I use SSH (with PuTTy) to…
Webeng
  • 7,050
  • 4
  • 31
  • 59
1
vote
1 answer

Laravel beanstalk job id not matching

I'm working on a project using laravel 4.2, and i'm sending jobs to a beanstalk queue. When the worker picks up the job to execute, I'm trying to capture the id of the job, and associate it back to the failed_jobs table in the event the job fails.…
Brett
  • 149
  • 13
1
vote
1 answer

import beanstalk (pybeanstalk) results "import error no module named 'serverconn'"

I am running Spyder with Anaconda 2.4.1 (64 bit) and Python 3.5.1 on Win 10. When I attempt to import pybeanstalk via: import beanstalk The IPython console returns: import error no module named 'serverconn' I've done my googling of the error and…
Gabe Spradlin
  • 1,937
  • 4
  • 23
  • 47
1
vote
0 answers

How to close a Beanstalkd message before the end of a camel route

I have a beanstalkd queue and have enabled job dependencies via a sub queue that posts when the dependent job is complete, in this example I have distributed parallel processing, so that I can trigger an action once all jobs are complete. The issue…
Chris
  • 105
  • 1
  • 10
1
vote
1 answer

Increasing max-open files for Beanstalkd in AWS EC2 instance

I'm not well know all beanstalkd tricks, and I need to increase max-open files for beanstalkd in our AWS EC2 instances. I found couple resources in internet(that looks more trusted for me), that suggest to change not only beanstalkd configurations,…
muzafarow
  • 926
  • 3
  • 12
  • 32
1
vote
1 answer

Laravel Raffle Project. Is a Queue the best way to achieve this?

I'm creating a raffle site as a small side project. It will handle multiple raffles each with an end time. At the end of each raffle a single winner is chosen. Are Laravel Jobs the best way to go with this? Do I just create a single…
THEK
  • 740
  • 2
  • 10
  • 29
1
vote
0 answers

How to configure Laravel Homestead to start beanstalkd queue worker after provisioning/booting?

I am down with setting up Homestead and all. Now I am trying to start the queue worker daemon after each provisioning / vagrant up. How can I accomplish that? I have tried to add the following to my .homestead/after.sh file: nohup php…
santacruz
  • 1,236
  • 2
  • 12
  • 24