Just a quick note to point out a couple of presentations on Queuing. I've recently shown the second (which admittedly has some significant things in common with the original, and not just the web-based slides). Either way, you are welcome to look at them online, and the original html source, and some source code, are …
Read MoreI'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 the messages into the queue, and we'll …
Read MoreI'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 used exit value, I've …
Read MoreThe 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 …
Read More