Queue library for WildPHP
This library defines a simple (message) queue interface. It sends out messages in the order they came in, but at a limited rate.
Currently implemented features are:
- Basic queue functionality
- Callback queue items
- Burst mode (send a batch of messages before throttling)
The default values are to send 1 message per second with a burst rate of 5 messages. This suits IRC well.
Installation
To install this library, you will need Composer.
$ composer require wildphp/queue ^0.1
Getting started
This library comes with a set of ready-to-use QueueItems, but you might want to develop your own. More on that later.
The most important classes in the library are the QueueProcessor
and BaseQueue
.
More documentation is TBD.
Contributors
You can see the full list of contributors in the GitHub repository.