Path to this page:
./
sysutils/p5-Server-Starter,
Perl 5 superdaemon for hot-deploying server programs
Branch: pkgsrc-2014Q4,
Version: 0.17nb1,
Package name: p5-Server-Starter-0.17nb1,
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:[
devel/p5-Scope-Guard] [
devel/p5-Proc-Wait3] [
devel/p5-List-MoreUtils] [
lang/perl5]
Required to build:[
net/p5-Test-TCP]
Master sites: (Expand)
SHA1: 6eaa3529267555a129aa446c663d1600bc2ba3ce
RMD160: cd9adb80943dd1b87d13df6f47c125290fa6e1f1
Filesize: 35.112 KB
Version history: (Expand)
- (2014-12-30) Package added to pkgsrc.se, version p5-Server-Starter-0.17nb1 (created)