Skip to content

andyjones/perl-resque

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perl-Resque

A Perl port of Resque ( https://github.com/defunkt/resque )

Dependencies

Redis ( http://redis.io )

Installation

cpanm https://github.com/andyjones/perl-resque/tarball/master

Usage

Start some workers

use Resque;
my $worker = Resque->new_worker( { queues => ['are','optional'] } );
$worker->work();

Add some jobs

use Resque;
my $client = Resque->new_client();
$client->push('Queuename', 'MyClass', ['arg1', 'arg2', 'etc']);
 

Perform asynchronous tasks

package MyClass;

sub perform {
  my $class = shift;
  my @args = @_;
  
  # do something
  
}

Monitoring

Resque ( Ruby ) includes a nice front end which works just as well with Perl-Resque see https://github.com/defunkt/resque for more information

Releases

No releases published

Packages

No packages published

Languages