schwartzmon
reliable job queue
Install
- All systems
-
curl cmd.cat/schwartzmon.sh
- Debian
-
apt-get install libtheschwartz-perl
- Ubuntu
-
apt-get install libtheschwartz-perl
- Kali Linux
-
apt-get install libtheschwartz-perl
- Fedora
-
dnf install perl-TheSchwartz
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libtheschwartz-perl
- Raspbian
-
apt-get install libtheschwartz-perl
- Dockerfile
- dockerfile.run/schwartzmon
libtheschwartz-perl
reliable job queue
TheSchwartz is a reliable job queue system. Your application can put jobs into the system, and your worker processes can pull jobs from the queue atomically to perform. Failed jobs can be left in the queue to retry later. Abilities specify what jobs a worker process can perform. Abilities are the names of TheSchwartz::Worker subclasses, as in the synopsis: the MyWorker class name is used to specify that the worker script can perform the job. When using the TheSchwartz client's work functions, the class-ability duality is used to automatically dispatch to the proper class to do the actual work. TheSchwartz clients will also prefer to do jobs for unused abilities before reusing a particular ability, to avoid exhausting the supply of one kind of job while jobs of other types stack up.