Re: Re: php batch/queue framwork
| From: | Larry Garfield | Date: | Sat, 30 Jun 2012 18:45:13 +0000 |
| Subject: | Re: Re: php batch/queue framwork | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318351@lists.php.net to get a copy of this message | ||
On 06/29/2012 05:18 AM, Tom Sparks wrote:
Have a look at Beanstalk and Gearman. They're the most common run-yourself queues I've seen, and both have PHP libraries available. ZeroMQ is also the darling of the queuing world these days, but I don't know off hand how good the PHP support is. You won't find a GOOD "database-centric" queue framework, rather by definition. A queuing server may use a DB of some kind as a backend itself, but a queue server by definition pushes tasks to workers that are waiting for it. That's simply not how an SQL DB is designed. You would have to do a polling worker that polls a database for new tasks. You could write such a system -- Drupal comes with one as a default implementation since then you don't need a separate queueing program, for instance -- but it will always be greatly inferior to a real daemonized queue server. --Larry GarfieldForwarded Message: php-general_318334.ezm Re: php batch/queue framwork Friday, 29 June, 2012 6:30 AM From: "Shailesh N. Humbad" <humbads@alum.mit.edu> To: php-general@lists.php.net On 6/28/2012 11:58 AM, Tom Sparks wrote: I am looking for a batch/queue framework that is database-centric? I could write my own, but I want one that is mature tom_a_sparks "It's a nerdy thing I like to do" You could try Amazon Simple Queue Service: http://aws.amazon.com/sqs/ Use the PHP SDK: http://aws.amazon.com/sdkforphp/I was hoping for something that I could run local on my host tom