Path to this page:
./
sysutils/p5-Server-Starter,
Perl 5 superdaemon for hot-deploying server programs
Branch: pkgsrc-2013Q3,
Version: 0.11nb2,
Package name: p5-Server-Starter-0.11nb2,
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-List-MoreUtils] [
devel/p5-Proc-Wait3] [
devel/p5-Scope-Guard]
Required to build:[
net/p5-Test-TCP]
Master sites: (Expand)
SHA1: 78da1a550577af9bba2935d6852af7665b9448f8
RMD160: 80f0f09f1ef35ae9fc2d59b7f16d4d56aea382f1
Filesize: 31.194 KB
Version history: (Expand)
- (2013-10-04) Package added to pkgsrc.se, version p5-Server-Starter-0.11nb2 (created)