Path to this page:
./
sysutils/p5-Server-Starter,
Perl 5 superdaemon for hot-deploying server programs
Branch: pkgsrc-2010Q4,
Version: 0.07nb1,
Package name: p5-Server-Starter-0.07nb1,
Maintainer: pkgsrc-usersIt is often a pain to write a server program that supports graceful
restarts, with no resource leaks. The Perl 5 module Server::Starter,
solves the problem by splitting the task into two. One is start_server,
a script provided as a part of the module, which works as a superdaemon
that binds to one or more TCP ports, and repeatedly spawns the
server program that actually handles the incomming commenctions.
The spawned server programs under Server::Starter call accept(2)
and handle the requests.
Required to run:[
lang/perl5] [
devel/p5-Proc-Wait3]
Required to build:[
net/p5-Test-TCP]
Master sites: (Expand)
SHA1: 57bae447ef684b3ef01069feb54261407511cee5
RMD160: 13e53d33f4ab7eb5e5e6ed94b8422d91fcb8ac5d
Filesize: 26.249 KB
Version history: (Expand)
- (2011-01-25) Package added to pkgsrc.se, version p5-Server-Starter-0.07nb1 (created)