Tuesday, June 23. 2009
Doing the work elsewhere - Sidebar - running the worker
Wednesday, June 10. 2009
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. Group communication systems provide similar kinds of functionality.
So one part of a system puts a message into a queue for another part to read from, and then act upon. The asynchronous nature means that each side is otherwise independent from the other, and does not wait for a response. That independence is an important part of the nature of the system though – and we’ll see later how some of the more advanced functionality for our software of choice here can give some extraordinary flexibility to what can be done.
Continue reading "Doing the work elsewhere - Asynchronous Message Queues"Saturday, June 6. 2009
(me instanceOf ZCE) === true
Phew. That would have been embarrassing if I’d not passed my ZCE on Thursday afternoon.
The rant on how useful it actually is though, will be coming early next week.
Tuesday, June 2. 2009
Upcoming posts - keep watching
Just a quick note on what is going to be posted in the next few weeks – I’ve got a few significant pieces in mind for various topics – including:
- Doing the work elsewhere – asynchronous queues
- Mail queuing, on a vast scale
- Self stubbing mocks
Finally, I’m going to be doing my ZCE exam in the next week or two – quite possibly on Thursday 3rd June. Keep a close eye here, and on my Twitter @topbit for the results, and a follow-up.

Comments
Wed, 28.10.2009 20:56
Multiple workers running is no t a problem – Beanstalkd will keep the jobs separate even if multiple ones are reser [...]
Wed, 28.10.2009 19:47
Is there any way to run more t he 1 worker (bash script) at a time?
Fri, 26.06.2009 01:13
Hi, What kind of beanstalk client library do you use or h ave you written your own? Is i t in PHP space or a C ex [...]
Mon, 22.06.2009 22:28
Hi, Good post. I am also pl aying with beanstakd and I am waiting for the rest of your p osts. Greetings, Alf [...]
Mon, 24.03.2008 19:30
Sun, 16.03.2008 23:45
Sun, 16.03.2008 21:31
Although example shown was usi ng Windows (my desktop) there is no reason why this can’t be used on Linux or as we [...]