Php Queue System
Check out the Gearman work queue system and the accompnaying PECL extension. Driver Scheda Video Hp Proliant Ml110 G7 more. It happens that supervisor is pretty handy for keeping your Gearman workers alive as well. It happens that supervisor is pretty handy for keeping your Gearman workers alive as well.
PHP-Queue A unified front-end for different queuing backends. Includes a REST server, CLI interface and daemon runners. Why PHP-Queue? Implementing a queueing system (eg. Beanstalk, Amazon SQS, RabbitMQ) for your application can be painful: • Which one is most efficient?
Project Php Source Code there. • Learning curve to effectively implement the queue backend & the libraries. • Time taken to develop the application codes. • Vendor locked in, making it impossible to switch. • Requires massive code change (ie. Not flexible) when use case for the queue changes. PHP-Queue hopes to serve as an abstract layer between your application code and the implementation of the queue. Benefits • Job Queue is Backend agnostic Just refer to the queue by name, what it runs on is independent of the application code.
Your code just asks for the next item in the PHPQueue JobQueue, and you'll get a PHPQueue Job object with the data and jobId. • Flexible Job Queue implementation You can decide whether each PHPQueue JobQueue only carries 1 type of work or multiple types of target workers. You control the retrieval of the job data from the Queue Backend and how it is instantiated as a PHPQueue Job object. Each PHPQueue Job object carries information on which workers it is targeted for.
• Independent Workers Workers are independent of Job Queues. All it needs to worry about is processing the input data and return the resulting data. The queue despatcher will handle the rest. Workers will also be chainable. • Powerful The framework is deliberately open-ended and can be adapted to your implementation.