Posts Tagged ‘beanstalkd’:

Doing the work elsewhere – Adding a job to the queue

I’ve previously shown you why you may want to put some tasks through a queuing system, what sort of jobs you could define, plus how to keep a worker process running for as long as you would like (but still be mindful of problems that happen). In this post, I’ll show you how to put

(Read More…)

Doing the work elsewhere – Sidebar – running the worker

I’m taking a slight diversion now, to show you how the main worker processor runs. There are two parts to it – the actual worker, written in PHP, and the script that keeps running it. For testing with return from the worker, we’ll just return a random number. In order to avoid returning a normally

(Read More…)

Doing the work elsewhere – Asynchronous Message Queues

The use of Beanstalkd as a queueing system What is an asynchronous queue The classic wikipedia quote (Message queue) In computer science, message queues and mailboxes are software-engineering components used for interprocess communication, or for inter-thread communication within the same process. They use a queue for messaging – the passing of control or of content.

(Read More…)

© PHP Scaling
CyberChimps