Laravel Queue Redis Module
This is a Redis module that implements a laravel compatible queue driver for redis with the following improvements over
the original Laravel 5.7 PHP-Lua driver:
retry_after
and block_for
Running this command will create a build/liblaravelq.so
file.mkdir build && cd build && cmake .. && make
Place this file in a directory to which your redis-server have access.
To load the module to an already running redis server run the following redis command:
module load <path/to/liblaravelq.so>
To always run redis server with the module, you can add the following to redis.conf configuration file (usually in /etc/redis directory):
loadmodule </path/to/liblaravelq.so>
After loading modules, laravel.* commands will be available.
To use this module with laravel, use halaei/lqrm composer package:
composer require halaei/lqrm
Please note that this module is not language dependent. Other languages and frameworks can hopefully benefit from this module.