Parallel::Prefork

A simple prefork server framework
Download

Parallel::Prefork Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kazuho Oku
  • Publisher web site:
  • http://search.cpan.org/~kazuho/

Parallel::Prefork Tags


Parallel::Prefork Description

A simple prefork server framework Parallel::Prefork is a Perl module much like Parallel::ForkManager, but supports graceful shutdown and run-time reconfiguration.SYNOPSIS use Parallel::Prefork; my $pm = Parallel::Prefork->new({ max_workers => 10, trap_signals => { TERM => 'TERM', HUP => 'TERM', USR1 => undef, } }); while ($pm->signal_received ne 'TERM') { load_config(); $pm->start and next; ... do some work within the child process ... $pm->finish; } $pm->wait_all_children(); Requirements: · Python


Parallel::Prefork Related Software