Simple Beanstalkd example

According to its website, Beanstalkd is a fast, distributed, in-memory workqueue service. In simpler terms this means clients can add tasks to a queue and workers will execute these tasks whenever they have time. I will show how this works using the perl client libraries. The Beanstalk::Client libraries can be found on the CPAN. Both the clients and the workers use the same library. The following example will put a ‘print’ task to the queue....

March 29, 2009