dev-master
9999999-devUse Redis to track progress during large jobs
MIT
The Requires
The Development Requires
1.0
1.0.0.0Use Redis to track progress during large jobs
MIT
The Requires
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Use Redis to track progress during large jobs
![Software License][ico-license]
![Total Downloads][ico-downloads], (*1)
Instead of rolling your own tracker to track the progress of a large job, you can use this., (*2)
As your job progresses, track what you have processed. So when it fails, you can retry without having to figure out what you have done and what you have not., (*3)
Via Composer, (*4)
``` bash $ composer require robrogers/redistracker, (*5)
## Usage ``` php /** use Config lib or your choice * @see https://github.com/Luracast */ use Luracast\Config\Config; use robrogers\Tracker\RedisTracker; Config::init(__DIR__ . '/config'); $config = Config::get('tracker.config'); $tracker = RedisTracker::singleton('your-key',1); $tracker->push('xxx'); $tracker->has('xxx'); $tracker->get('xxx');
Please see CHANGELOG for more information what has changed recently., (*6)
bash
$ composer test, (*7)
Please see CONTRIBUTING and CONDUCT for details., (*8)
If you discover any security related issues, please email robrogers@me.com instead of using the issue tracker., (*9)
The MIT License (MIT). Please see License File for more information., (*10)
Use Redis to track progress during large jobs
MIT
Use Redis to track progress during large jobs
MIT