SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Minion rpm build for : OpenSuSE 13.X. For other distributions click perl-Minion.

Name : perl-Minion
Version : 7.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 58.1 Date : 2017-06-20 08:24:47
Group : Development/Libraries/Perl Source RPM : perl-Minion-7.0-58.1.src.rpm
Size : 0.14 MB
Packager : (none)
Summary : Job queue
Description :
Minion is a job queue for the at http://mojolicious.org real-time web
framework, with support for multiple named queues, priorities, delayed
jobs, job dependencies, job results, retries with backoff, rate limiting,
unique jobs, statistics, istributed workers, parallel processing,
autoscaling, remote control, resource leak protection and multiple backends
(such as at http://www.postgresql.org).

Job queues allow you to process time and/or computationally intensive tasks
in background processes, outside of the request/response lifecycle. Among
those tasks you\'ll commonly find image resizing, spam filtering, HTTP
downloads, building tarballs, warming caches and basically everything else
you can imagine that\'s not super fast.

use Mojolicious::Lite;

plugin Minion => {Pg => \'postgresql://sri:s3cretAATTlocalhost/test\'};


app->minion->add_task(poke_mojo => sub {
my $job = shift;
$job->app->ua->get(\'mojolicious.org\');
$job->app->log->debug(\'We have poked mojolicious.org for a visitor\');
});


get \'/\' => sub {
my $c = shift;
$c->minion->enqueue(\'poke_mojo\');
$c->render(text => \'We will poke mojolicious.org for you soon.\');
};

app->start;

Background worker processes are usually started with the command
Minion::Command::minion::worker, which becomes automatically available when
an application loads the plugin Mojolicious::Plugin::Minion.

$ ./myapp.pl minion worker

Jobs can be managed right from the command line with
Minion::Command::minion::job.

$ ./myapp.pl minion job

To manage background worker processes with systemd, you can use a unit
configuration file like this.

[Unit]
Description=My Mojolicious application workers
After=postgresql.service

[Service]
Type=simple
ExecStart=/home/sri/myapp/myapp.pl minion worker -m production
KillMode=process

[Install]
WantedBy=multi-user.target

Every job can fail or succeed, but not get lost, the system is eventually
consistent and will preserve job results for as long as you like, depending
on \"remove_after\". While individual workers can fail in the middle of
processing a job, the system will detect this and ensure that no job is
left in an uncertain state, depending on \"missing_after\".

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_13.2/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(LinkCheck)
perl(LinkCheck::Controller::Links)
perl(LinkCheck::Task::CheckLinks)
perl(Minion)
perl(Minion::Backend)
perl(Minion::Backend::Pg)
perl(Minion::Command::minion)
perl(Minion::Command::minion::job)
perl(Minion::Command::minion::worker)
perl(Minion::Job)
perl(Minion::Worker)
perl(Mojolicious::Plugin::Minion)
perl-Minion

Requires :
perl(Mojolicious) => 7.29
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(:MODULE_COMPAT_5.20.1)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.20.1/Minion
/usr/lib/perl5/vendor_perl/5.20.1/Minion.pm
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Backend
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Backend.pm
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Backend/Pg.pm
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Command
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Command/minion
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Command/minion.pm
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Command/minion/job.pm
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Command/minion/worker.pm
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Job.pm
/usr/lib/perl5/vendor_perl/5.20.1/Minion/Worker.pm
/usr/lib/perl5/vendor_perl/5.20.1/Mojolicious
/usr/lib/perl5/vendor_perl/5.20.1/Mojolicious/Plugin
/usr/lib/perl5/vendor_perl/5.20.1/Mojolicious/Plugin/Minion.pm
/usr/lib/perl5/vendor_perl/5.20.1/i586-linux-thread-multi
/usr/share/doc/packages/perl-Minion
/usr/share/doc/packages/perl-Minion/Changes
/usr/share/doc/packages/perl-Minion/README.md
/usr/share/doc/packages/perl-Minion/examples
/usr/share/doc/packages/perl-Minion/examples/linkcheck
/usr/share/doc/packages/perl-Minion/examples/linkcheck/lib
/usr/share/doc/packages/perl-Minion/examples/linkcheck/lib/LinkCheck
/usr/share/doc/packages/perl-Minion/examples/linkcheck/lib/LinkCheck.pm
/usr/share/doc/packages/perl-Minion/examples/linkcheck/lib/LinkCheck/Controller
/usr/share/doc/packages/perl-Minion/examples/linkcheck/lib/LinkCheck/Controller/Links.pm
/usr/share/doc/packages/perl-Minion/examples/linkcheck/lib/LinkCheck/Task
/usr/share/doc/packages/perl-Minion/examples/linkcheck/lib/LinkCheck/Task/CheckLinks.pm
/usr/share/doc/packages/perl-Minion/examples/linkcheck/linkcheck.conf
/usr/share/doc/packages/perl-Minion/examples/linkcheck/script
There is 21 files more in these RPM.

 
ICM