Stakhanovist Queue
Provides a factory function to create specific queue client objects.
This library aims to provide a message queue abstraction layer, usefull for inter-process comunication or for distributed processing (a complete job queue system can be implemented using the worker library).
Currenty, the following message queue services are supported:
-
A SQL database driven queue via
Zend\Db
Install stakhanovist/queue-db
-
A MongoDb database driven queue, with message awaiting support (using capped collection and tailable cursor)
Install stakhanovist/queue-mongodb
-
A local array useful for non-persistent queues and for unit testing
Already included in this library
Installation
Install it using composer.
Add the following to your composer.json
file:
"require": {
"stakhanovist/queue": "~0.2.0",
}
License
Stakhanovist Queue is licensed under the BSD 2-Clause License except otherwise stated.
As this library initially started as a refactoring of the Zend\Queue library code, for source code parts still used the original New BSD License is retained.